Class EventTypesEditorSection
java.lang.Object
org.palladiosimulator.editors.commons.tabs.generic.EditorSection
org.palladiosimulator.editors.commons.tabs.operations.EventTypesEditorSection
- All Implemented Interfaces:
Observer
-
Field Summary
Modifier and TypeFieldDescriptionstatic String[]
static final int
static final int
static final String
Columns of a table, which is used into operations tablestatic final String
static final String
static final int
static final int
static final String
Fields inherited from class org.palladiosimulator.editors.commons.tabs.generic.EditorSection
viewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
protected SelectionListener
Add Action button.protected SelectionListener
Default deletion button.protected void
createTableColumns
(Table table) Create the table columns.protected CellEditor[]
createViewerCellEditors
(Table table) Create a CellEditors for Viewer.protected ObservableCellModifier
Initialise the cell modifier.org.palladiosimulator.pcm.repository.EventType
protected String[]
protected boolean
inputValidation
(EObject object) Methods inherited from class org.palladiosimulator.editors.commons.tabs.generic.EditorSection
addViewerSelectionChangedListener, createTableSection, createToolBar, getSelectedObject, getViewer, refresh, setDeleteButtonEnabled, setDeleteButtonListener, setViewerCellModifier, setViewerCellModifier, setViewerContentProvider, setViewerInput, setViewerLabelProvider, update
-
Field Details
-
ICON_COLUMN_INDEX
public static final int ICON_COLUMN_INDEX- See Also:
-
EVENTTYPENAME_COLUMN_INDEX
public static final int EVENTTYPENAME_COLUMN_INDEX- See Also:
-
PARAMETER_NAME_COLUMN_INDEX
public static final int PARAMETER_NAME_COLUMN_INDEX- See Also:
-
PARAMETER_TYPE_COLUMN_INDEX
public static final int PARAMETER_TYPE_COLUMN_INDEX- See Also:
-
OPERATIONS_ICON_COLUMN
Columns of a table, which is used into operations table- See Also:
-
OWNEDPARAMETER_NAME_COLUMN
- See Also:
-
OWNEDPARAMETER_TYPE_COLUMN
- See Also:
-
SERVICENAME_COLUMN
- See Also:
-
columnNames
-
-
Constructor Details
-
EventTypesEditorSection
Constructor
-
-
Method Details
-
createViewerCellEditors
Description copied from class:EditorSection
Create a CellEditors for Viewer.- Specified by:
createViewerCellEditors
in classEditorSection
-
createViewerCellModifier
Initialise the cell modifier.- Specified by:
createViewerCellModifier
in classEditorSection
- Returns:
- The cell modifier.
- See Also:
-
createTableColumns
Create the table columns.- Specified by:
createTableColumns
in classEditorSection
- Parameters:
table
- The table object to add the columns to.- See Also:
-
createAddButtonActionListener
Add Action button. Note: This method has been aligned with he OperationsEditorserction and there was no explanation why the implementation does exactly the opposite of the included comment.- Specified by:
createAddButtonActionListener
in classEditorSection
- See Also:
-
createDeleteButtonListener
Default deletion button.- Specified by:
createDeleteButtonListener
in classEditorSection
- See Also:
-
getTableColumnNames
- Specified by:
getTableColumnNames
in classEditorSection
-
canAddButonCreated
protected boolean canAddButonCreated()- Specified by:
canAddButonCreated
in classEditorSection
-
canDeleteButonCreated
protected boolean canDeleteButonCreated()- Specified by:
canDeleteButonCreated
in classEditorSection
-
inputValidation
- Specified by:
inputValidation
in classEditorSection
-
getSelectedEventType
public org.palladiosimulator.pcm.repository.EventType getSelectedEventType() -
getAddButtonListener
- Returns:
- the addButtonListener
-