|
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
public abstract class AbstractModelerPropertySection
An abstract implementation of a section in a tab in the tabbed property sheet page for the modeler. Creation 5 avr. 2006
| Field Summary | |
|---|---|
protected EObject |
eObject
The current selected object or the first object in the selection when multiple objects are selected. |
protected java.util.List |
eObjectList
The list of current selected objects. |
protected ModelerPropertySheetPage |
propertySheetPage
The property sheet page for this section. |
protected org.eclipse.gef.EditPart |
selectedEditPart
The current select EditPart |
| Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
STANDARD_LABEL_WIDTH |
| Constructor Summary | |
|---|---|
AbstractModelerPropertySection()
|
|
| Method Summary | |
|---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected java.lang.Object[] |
getChoices(EObject object,
EClassifier type)
TODO comment this method |
protected int |
getStandardLabelWidth(org.eclipse.swt.widgets.Composite parent,
java.lang.String[] labels)
Get the standard label width when labels for sections line up on the left hand side of the composite. |
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
aboutToBeHidden, aboutToBeShown, dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, refresh, shouldUseExtraSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ModelerPropertySheetPage propertySheetPage
protected EObject eObject
protected java.util.List eObjectList
protected org.eclipse.gef.EditPart selectedEditPart
| Constructor Detail |
|---|
public AbstractModelerPropertySection()
| Method Detail |
|---|
protected int getStandardLabelWidth(org.eclipse.swt.widgets.Composite parent,
java.lang.String[] labels)
parent - The parent composite used to create a GC.labels - The list of labels.
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.ISectioncreateControls in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySectionISection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
public void setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
setInput in interface org.eclipse.ui.views.properties.tabbed.ISectionsetInput in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySectionISection.setInput(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
protected java.lang.Object[] getChoices(EObject object,
EClassifier type)
object - type -
|
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.