Class InfrastructureSignaturesEditorSection
java.lang.Object
org.palladiosimulator.editors.commons.tabs.generic.EditorSection
org.palladiosimulator.editors.commons.tabs.operations.InfrastructureSignaturesEditorSection
- All Implemented Interfaces:
Observer
Editor section for infrastructure signatures.
Allows to display and edit the list of signatures for a given infrastructure interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic String[]
Column to name mapping.static final int
Index of the exception column in the table.static final String
static final int
Index of the icon column in the table.static final String
Columns of a table, which is used into operations tablestatic final String
static final int
Index of the parameter column in the table.static final String
static final int
Index of the signature column in the table.Fields inherited from class org.palladiosimulator.editors.commons.tabs.generic.EditorSection
viewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
protected SelectionListener
Create a SelectionListener for the Add-Buttonprotected SelectionListener
Set a SelectionListener for the Delete-Buttonprotected void
createTableColumns
(Table table) Create the table columns.protected CellEditor[]
createViewerCellEditors
(Table table) Create a CellEditors for Viewer.protected ObservableCellModifier
org.palladiosimulator.pcm.repository.Signature
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_INDEXIndex of the icon column in the table.- See Also:
-
SIGNATURENAME_COLUMN_INDEX
public static final int SIGNATURENAME_COLUMN_INDEXIndex of the signature column in the table.- See Also:
-
PARAMETER_COLUMN_INDEX
public static final int PARAMETER_COLUMN_INDEXIndex of the parameter column in the table.- See Also:
-
EXCEPTIONS_COLUMN_INDEX
public static final int EXCEPTIONS_COLUMN_INDEXIndex of the exception column in the table.- See Also:
-
OPERATIONS_ICON_COLUMN
Columns of a table, which is used into operations table- See Also:
-
OWNEDPARAMETER_COLUMN
- See Also:
-
SERVICENAME_COLUMN
- See Also:
-
EXEPTIONTYPE_COLUM
- See Also:
-
columnNames
Column to name mapping.
-
-
Constructor Details
-
InfrastructureSignaturesEditorSection
Constructor
-
-
Method Details
-
createViewerCellEditors
Description copied from class:EditorSection
Create a CellEditors for Viewer.- Specified by:
createViewerCellEditors
in classEditorSection
-
createViewerCellModifier
- Specified by:
createViewerCellModifier
in classEditorSection
-
createTableColumns
Description copied from class:EditorSection
Create the table columns.- Specified by:
createTableColumns
in classEditorSection
-
createAddButtonActionListener
Description copied from class:EditorSection
Create a SelectionListener for the Add-Button- Specified by:
createAddButtonActionListener
in classEditorSection
-
createDeleteButtonListener
Description copied from class:EditorSection
Set a SelectionListener for the Delete-Button- Specified by:
createDeleteButtonListener
in classEditorSection
-
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
-
getSelectedSignature
public org.palladiosimulator.pcm.repository.Signature getSelectedSignature() -
getAddButtonListener
- Returns:
- the addButtonListener
-