|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.topcased.modeler.editor.properties.sections.AbstractModelerPropertySection
org.topcased.modeler.editor.properties.sections.AbstractComboPropertySection
public abstract class AbstractComboPropertySection
An abstract implementation of a section with a field using a CSingleObjectChooser composite (CCombo with a Button).
Field Summary | |
---|---|
protected CSingleObjectChooser |
cSingleObjectChooser
The combo box control for the section. |
protected boolean |
isRefreshing
A boolean that store if refreshing is happening and no model modifications should be performed |
Fields inherited from class org.topcased.modeler.editor.properties.sections.AbstractModelerPropertySection |
---|
eObject, eObjectList, propertySheetPage, selectedEditPart |
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
STANDARD_LABEL_WIDTH |
Constructor Summary | |
---|---|
AbstractComboPropertySection()
|
Method Summary | |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected abstract java.lang.Object[] |
getComboFeatureValues()
Get the enumeration values of the feature for the combo field for the section. |
protected abstract EStructuralFeature |
getFeature()
Get the feature for the combo field for the section. |
protected abstract java.lang.Object |
getFeatureValue()
Get the current feature value of the selected model object. |
protected abstract org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider()
Get the LabelProvider to use to display the Object contained in the ComboViewer |
protected abstract java.lang.String |
getLabelText()
Get the label for the combo field for the section. |
protected void |
handleComboModified()
Handle the combo modified event. |
protected void |
hookListeners()
Adds the listeners on the widgets |
void |
refresh()
|
Methods inherited from class org.topcased.modeler.editor.properties.sections.AbstractModelerPropertySection |
---|
getChoices, getStandardLabelWidth, setInput |
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
aboutToBeHidden, aboutToBeShown, dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, shouldUseExtraSpace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isRefreshing
protected CSingleObjectChooser cSingleObjectChooser
Constructor Detail |
---|
public AbstractComboPropertySection()
Method Detail |
---|
public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class AbstractModelerPropertySection
ISection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
protected void hookListeners()
protected void handleComboModified()
public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
ISection.refresh()
protected abstract org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
protected abstract EStructuralFeature getFeature()
protected abstract java.lang.Object getFeatureValue()
protected abstract java.lang.Object[] getComboFeatureValues()
protected abstract java.lang.String getLabelText()
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.