Class GeneralPanel
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.HTMLTable
-
- com.google.gwt.user.client.ui.FlexTable
-
- org.pentaho.mantle.client.solutionbrowser.fileproperties.GeneralPanel
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllDragAndDropHandlers
,com.google.gwt.event.dom.client.HasClickHandlers
,com.google.gwt.event.dom.client.HasDoubleClickHandlers
,com.google.gwt.event.dom.client.HasDragEndHandlers
,com.google.gwt.event.dom.client.HasDragEnterHandlers
,com.google.gwt.event.dom.client.HasDragHandlers
,com.google.gwt.event.dom.client.HasDragLeaveHandlers
,com.google.gwt.event.dom.client.HasDragOverHandlers
,com.google.gwt.event.dom.client.HasDragStartHandlers
,com.google.gwt.event.dom.client.HasDropHandlers
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.SourcesTableEvents
,Iterable<com.google.gwt.user.client.ui.Widget>
,IFileModifier
public class GeneralPanel extends com.google.gwt.user.client.ui.FlexTable implements IFileModifier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.FlexTable
com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.HTMLTable
com.google.gwt.user.client.ui.HTMLTable.Cell, com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter
-
-
Constructor Summary
Constructors Constructor Description GeneralPanel(FilePropertiesDialog dialog, org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addHr(int row, int col, int colspan)
Add an hr element with a specified colspanvoid
apply()
void
init()
void
init(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary, com.google.gwt.xml.client.Document fileInfo)
List<com.google.gwt.http.client.RequestBuilder>
prepareRequests()
Use this method to create RequestBuilder objects and use RequestBuilder.setRequestData Add RequestBuilder objects to the List which is then used by FilePropertiesDialog to iterate through and call each request sequentially by chaining them in the callbacks.protected void
setAclResponse(com.google.gwt.http.client.Response response)
Get owner name from acl responseprotected void
setMetadataResponse(com.google.gwt.http.client.Response response)
Accept metadata response object and parse for use in General panel-
Methods inherited from class com.google.gwt.user.client.ui.FlexTable
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeAllRows, removeCell, removeCells, removeRow
-
Methods inherited from class com.google.gwt.user.client.ui.HTMLTable
addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, clearCell, createCell, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, internalClearCell, isCellPresent, iterator, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GeneralPanel
public GeneralPanel(FilePropertiesDialog dialog, org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary)
- Parameters:
dialog
-fileSummary
-
-
-
Method Detail
-
apply
public void apply()
- Specified by:
apply
in interfaceIFileModifier
-
prepareRequests
public List<com.google.gwt.http.client.RequestBuilder> prepareRequests()
Description copied from interface:IFileModifier
Use this method to create RequestBuilder objects and use RequestBuilder.setRequestData Add RequestBuilder objects to the List which is then used by FilePropertiesDialog to iterate through and call each request sequentially by chaining them in the callbacks. It is not necessary to set a callback since FilePropertiesDialog will add its own- Specified by:
prepareRequests
in interfaceIFileModifier
- Returns:
- See Also:
FilePropertiesDialog.applyPanel()
-
init
public void init()
-
init
public void init(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary, com.google.gwt.xml.client.Document fileInfo)
- Specified by:
init
in interfaceIFileModifier
-
addHr
protected void addHr(int row, int col, int colspan)
Add an hr element with a specified colspan- Parameters:
row
-col
-
-
setMetadataResponse
protected void setMetadataResponse(com.google.gwt.http.client.Response response)
Accept metadata response object and parse for use in General panel- Parameters:
response
-
-
setAclResponse
protected void setAclResponse(com.google.gwt.http.client.Response response)
Get owner name from acl response- Parameters:
response
-
-
-