public class GeneralPanel extends com.google.gwt.user.client.ui.FlexTable implements IFileModifier
com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter
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 and Description |
---|
GeneralPanel(FilePropertiesDialog dialog,
org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary) |
Modifier and Type | Method and Description |
---|---|
protected void |
addHr(int row,
int col,
int colspan)
Add an hr element with a specified colspan
|
void |
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 response
|
protected void |
setMetadataResponse(com.google.gwt.http.client.Response response)
Accept metadata response object and parse for use in General panel
|
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeAllRows, removeCell, removeCells, removeRow
addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, clearCell, createCell, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, isCellPresent, iterator, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidget
add, add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public GeneralPanel(FilePropertiesDialog dialog, org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary)
dialog
- fileSummary
- public void apply()
apply
in interface IFileModifier
public List<com.google.gwt.http.client.RequestBuilder> prepareRequests()
IFileModifier
prepareRequests
in interface IFileModifier
FilePropertiesDialog.applyPanel()
public void init()
public void init(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile fileSummary, com.google.gwt.xml.client.Document fileInfo)
init
in interface IFileModifier
protected void addHr(int row, int col, int colspan)
row
- col
- protected void setMetadataResponse(com.google.gwt.http.client.Response response)
response
- protected void setAclResponse(com.google.gwt.http.client.Response response)
response
- Copyright © 2021 Hitachi Vantara. All rights reserved.