Class EDP2PropertiesTable
- java.lang.Object
-
- org.palladiosimulator.edp2.visualization.properties.sections.EDP2PropertiesTable
-
public class EDP2PropertiesTable extends Object
-
-
Constructor Summary
Constructors Constructor Description EDP2PropertiesTable(Composite parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
openBooleanDialog(int index, Table table)
Opens a dropdown (Combo
) for editing cells in the#visualPropertiesTable
, which can only have boolean values.protected void
openColorAndTransparencyDialog(TableItem item, Table table)
Opens aColorDialog
to change the color of the last selectedJFreeChartVisualizationSingleDatastreamInput
.protected void
openEObjectDialog(TableItem item, Table table, Class<?> propertyType, Collection<?> filterList, Collection<EReference> additionalChildReferences)
Opens anEObjectDialog
to change the EObject of the last selectedJFreeChartVisualizationSingleDatastreamInput
.protected void
openMeasureDialog(int index, Table table)
protected void
openTextDialog(int index, Table table, Class<?> clazz)
Opens a text dialog for editing cells in the#visualPropertiesTable
by entering text.void
refreshTable()
Update the table containing the properties of thelastSelectedInput
.void
setLastSelection(IPropertyConfigurable iPropertyConfigurable)
-
-
-
Constructor Detail
-
EDP2PropertiesTable
public EDP2PropertiesTable(Composite parent)
-
-
Method Detail
-
openColorAndTransparencyDialog
protected void openColorAndTransparencyDialog(TableItem item, Table table)
Opens aColorDialog
to change the color of the last selectedJFreeChartVisualizationSingleDatastreamInput
.- Parameters:
item
- index the row-index of the cell to be editedshell
- the Shell in which the dialog is displayed.
-
openEObjectDialog
protected void openEObjectDialog(TableItem item, Table table, Class<?> propertyType, Collection<?> filterList, Collection<EReference> additionalChildReferences)
Opens anEObjectDialog
to change the EObject of the last selectedJFreeChartVisualizationSingleDatastreamInput
.- Parameters:
item
- index the row-index of the cell to be editedpropertyType
-shell
- the Shell in which the dialog is displayed.
-
openMeasureDialog
protected void openMeasureDialog(int index, Table table)
- Parameters:
index
- An integer denoting the row-index of the cell containingConfigurationProperty
to be edited.table
- TheTable
containing theConfigurationProperty
to be edited.
-
openTextDialog
protected void openTextDialog(int index, Table table, Class<?> clazz)
Opens a text dialog for editing cells in the#visualPropertiesTable
by entering text.- Parameters:
index
- the row-index of the cell to be editedclazz
-
-
openBooleanDialog
protected void openBooleanDialog(int index, Table table)
Opens a dropdown (Combo
) for editing cells in the#visualPropertiesTable
, which can only have boolean values.- Parameters:
index
- the row-index of the cell to be edited
-
refreshTable
public void refreshTable()
Update the table containing the properties of thelastSelectedInput
.
-
setLastSelection
public void setLastSelection(IPropertyConfigurable iPropertyConfigurable)
-
-