public class SimpleTableEditor extends AbstractPage
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected com.vaadin.ui.TextField |
descriptionField |
protected com.vaadin.ui.GridLayout |
editorGrid |
protected com.vaadin.ui.Panel |
imagePanel |
protected DetailPanel |
mainLayout |
protected String |
modelId |
protected com.vaadin.ui.TextField |
nameField |
protected TaskTable |
taskTable |
protected WorkflowDefinition |
workflowDefinition |
protected String |
workflowName |
grid, select, showEvents, toolBar| Constructor and Description |
|---|
SimpleTableEditor(String workflowName,
String description)
Constructor used when creating a new process.
|
SimpleTableEditor(String modelId,
WorkflowDefinition workflowDefinition)
Constructor used when updating an existing process
|
| Modifier and Type | Method and Description |
|---|---|
protected ToolBar |
createMenuBar() |
protected com.vaadin.ui.AbstractSelect |
createSelectComponent()
Returns an implementation of
AbstractSelect,
which will be displayed on the left side of the page,
allowing to select elements from eg. |
protected WorkflowDefinition |
createWorkflow() |
com.vaadin.ui.TextField |
getNameTextField() |
protected void |
initButtons(com.vaadin.ui.GridLayout layout) |
protected void |
initDescriptionField(com.vaadin.ui.GridLayout layout) |
protected void |
initNameField(com.vaadin.ui.GridLayout layout) |
protected void |
initTaskTable(com.vaadin.ui.GridLayout layout) |
protected ToolBar |
initToolbar() |
protected void |
initUi()
Override this method (and call super()) when you want to influence the UI.
|
protected void |
loadTaskRows(StepDefinitionContainer<?> container,
TaskTable taskTable) |
void |
refreshSelectNext()
Refreshes the elements of the list, and selects the next
one (useful when the selected element is deleted).
|
protected void |
save() |
void |
selectElement(int index)
Select a specific element from the selection component.
|
protected void |
showDiagram() |
addEventComponent, addMainLayout, addMenuBar, addSearch, addSelectComponent, attach, getDetailComponent, getEventComponent, getSearchComponent, getToolBar, setDetailComponentaddComponent, getComponentCount, getComponentIterator, getComponentType, getCompositionRoot, moveComponentsFrom, paintContent, removeAllComponents, removeComponent, replaceComponent, setComponentType, setCompositionRootaddListener, addListener, detach, fireComponentAttachEvent, fireComponentDetachEvent, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidthaddListener, addListener, addListener, addListener, addListener, addStyleName, changeVariables, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setIcon, setParent, setReadOnly, setStyleName, setVisibleprotected String workflowName
protected String description
protected String modelId
protected WorkflowDefinition workflowDefinition
protected DetailPanel mainLayout
protected com.vaadin.ui.GridLayout editorGrid
protected com.vaadin.ui.TextField nameField
protected com.vaadin.ui.TextField descriptionField
protected TaskTable taskTable
protected com.vaadin.ui.Panel imagePanel
public SimpleTableEditor(String workflowName, String description)
public SimpleTableEditor(String modelId, WorkflowDefinition workflowDefinition)
protected void initUi()
AbstractPageinitUi in class AbstractPageprotected ToolBar initToolbar()
protected void initNameField(com.vaadin.ui.GridLayout layout)
protected void initDescriptionField(com.vaadin.ui.GridLayout layout)
protected void initTaskTable(com.vaadin.ui.GridLayout layout)
protected void loadTaskRows(StepDefinitionContainer<?> container, TaskTable taskTable)
protected void initButtons(com.vaadin.ui.GridLayout layout)
public com.vaadin.ui.TextField getNameTextField()
protected void showDiagram()
protected void save()
protected WorkflowDefinition createWorkflow()
protected ToolBar createMenuBar()
createMenuBar in class AbstractPageprotected com.vaadin.ui.AbstractSelect createSelectComponent()
AbstractPageAbstractSelect,
which will be displayed on the left side of the page,
allowing to select elements from eg. a list, tree, etc.createSelectComponent in class AbstractPagepublic void refreshSelectNext()
AbstractPagerefreshSelectNext in class AbstractPagepublic void selectElement(int index)
AbstractPageselectElement in class AbstractPageCopyright © 2016 Alfresco. All rights reserved.