Class GenericEMFPropertySection
java.lang.Object
org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.palladiosimulator.editors.commons.tabs.GenericEMFPropertySection
- All Implemented Interfaces:
ISection
- Direct Known Subclasses:
ComponentPropertySection
,InterfacePropertySection
-
Field Summary
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControls
(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) This method sets up the property sheet section using a template methodprotected abstract EClass
The EClass of the objects which can be displayed in this property sheet.protected abstract Collection<EMFPropertySectionFieldInfo>
Returns a list of edit fields which are used to display features of EMF meta-model classesvoid
setInput
(IWorkbenchPart part, ISelection selection) The model object which should be edited in the tab sheet is passed in hereMethods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
aboutToBeHidden, aboutToBeShown, dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, refresh, shouldUseExtraSpace
-
Constructor Details
-
GenericEMFPropertySection
public GenericEMFPropertySection()
-
-
Method Details
-
createControls
This method sets up the property sheet section using a template method- Specified by:
createControls
in interfaceISection
- Overrides:
createControls
in classAbstractPropertySection
- See Also:
-
org.eclipse.ui.views.properties.tabbed.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
-
getEditableTextFields
Returns a list of edit fields which are used to display features of EMF meta-model classes- Returns:
- A list of EMF features which should be editable in this property sheet section
-
getEClassToEdit
The EClass of the objects which can be displayed in this property sheet. A single model object is edited in the property sheet. The features which are diplayed on the sheet are set using the getEditableTextFields method- Returns:
-
setInput
The model object which should be edited in the tab sheet is passed in here- Specified by:
setInput
in interfaceISection
- Overrides:
setInput
in classAbstractPropertySection
- See Also:
-
org.eclipse.ui.views.properties.tabbed.ITabbedPropertySection#setInput(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
-