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