|
||||||||||
| 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.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection
org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractDetailedObjectPropertySection
public abstract class AbstractDetailedObjectPropertySection
An abstract section used to create a model object inside the selected element. You can then, depending on the selected model object edit its properties through a detailed Composite which is dynamically updated. Creation 10 nov. 06
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
STANDARD_LABEL_WIDTH |
| Constructor Summary | |
|---|---|
AbstractDetailedObjectPropertySection()
|
|
| Method Summary | |
|---|---|
void |
aboutToBeHidden()
|
void |
aboutToBeShown()
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected void |
createWidgets(org.eclipse.swt.widgets.Composite composite)
Section widgets should be created inside this method. |
protected abstract org.eclipse.swt.widgets.Composite |
getDetailsComposite()
This method should return the Composite that should be associated with the details Group |
protected abstract java.lang.String |
getFeatureAsText()
Get the text value corresponding to the selected Constraint |
org.eclipse.swt.widgets.Group |
getGroupDetails()
This method returns the groupDetails composite. |
protected org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider()
Get the LabelProvider to use to display the Constraint element |
protected abstract org.eclipse.emf.ecore.EObject |
getRelatedEObject()
Return the model object associated with the section. |
void |
refresh()
|
protected void |
setSectionData(org.eclipse.swt.widgets.Composite composite)
This method should be implemented to set layout data to the widgets created at AbstractTabbedPropertySection.createWidgets(Composite). |
protected void |
updateGroupContents()
This method should be called when the contents of the groupDetails should be updated. |
| Methods inherited from class org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection |
|---|
addListener, clearDecorators, createCommand, getActivePage, getEditingDomain, getEObject, getEObjectList, getFeature, getLabelText, getMainComposite, getMessageManager, getModelListener, getSectionComposite, getStandardLabelWidth, getStatusLineManager, handleModelChanged, hookListeners, isReadOnly, makeContributions, removeListener, setDecorator, setErrorDecorator, setErrorMessage, setInfoDecorator, setInput, setMessage, setWarningDecorator |
| Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, shouldUseExtraSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDetailedObjectPropertySection()
| 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.ISectioncreateControls in class AbstractTabbedPropertySectionAbstractTabbedPropertySection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)protected void createWidgets(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySectionAbstractTabbedPropertySection.setSectionData(Composite) If widgets
has listeners implement the AbstractTabbedPropertySection.hookListeners().
createWidgets in class AbstractTabbedPropertySectioncomposite - the parent CompositeAbstractTabbedPropertySection.createWidgets(org.eclipse.swt.widgets.Composite)protected void setSectionData(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySectionAbstractTabbedPropertySection.createWidgets(Composite). This improves visibility
setSectionData in class AbstractTabbedPropertySectioncomposite - Sometimes widgets will be set formDatas and position will
depend on parent composite.AbstractTabbedPropertySection.setSectionData(org.eclipse.swt.widgets.Composite)public void refresh()
refresh in interface org.eclipse.ui.views.properties.tabbed.ISectionrefresh in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySectionISection.refresh()protected void updateGroupContents()
public void aboutToBeShown()
aboutToBeShown in interface org.eclipse.ui.views.properties.tabbed.ISectionaboutToBeShown in class AbstractTabbedPropertySectionAbstractTabbedPropertySection.aboutToBeShown()public void aboutToBeHidden()
aboutToBeHidden in interface org.eclipse.ui.views.properties.tabbed.ISectionaboutToBeHidden in class AbstractTabbedPropertySectionAbstractTabbedPropertySection.aboutToBeHidden()protected org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
public org.eclipse.swt.widgets.Group getGroupDetails()
protected abstract java.lang.String getFeatureAsText()
protected abstract org.eclipse.emf.ecore.EObject getRelatedEObject()
protected abstract org.eclipse.swt.widgets.Composite getDetailsComposite()
|
Copyright 2007 Anyware Technologies. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||