org.topcased.modeler.editor.properties.sections.graphics
Class AbstractGraphicPropertySection
java.lang.Object
org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.topcased.modeler.editor.properties.sections.graphics.AbstractGraphicPropertySection
- All Implemented Interfaces:
- org.eclipse.ui.views.properties.tabbed.ISection
- Direct Known Subclasses:
- BackgroundColorPropertySection, EdgeObjectVisibilityPropertySection, FontPropertySection, ForegroundColorPropertySection, PageFormatPropertySection, PageMarginPropertySection, PageOrientationPropertySection, RouterPropertySection, VisibilityPropertySection
public abstract class AbstractGraphicPropertySection
- extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
An abstract implementation of a section associated with a graphical property
in a tab in the tabbed property sheet page for the modeler.
Creation 5 avr. 2006
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
STANDARD_LABEL_WIDTH |
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
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 |
AbstractGraphicPropertySection
public AbstractGraphicPropertySection()
createControls
public void createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
- Specified by:
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
- See Also:
ISection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
setInput
public void setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
setInput
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
- See Also:
AbstractPropertySection.setInput(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
aboutToBeShown
public void aboutToBeShown()
- Specified by:
aboutToBeShown
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
aboutToBeShown
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
aboutToBeHidden
public void aboutToBeHidden()
- Specified by:
aboutToBeHidden
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
aboutToBeHidden
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
removeListener
protected void removeListener()
addListener
protected void addListener()
getDiagElt
protected DiagramElement getDiagElt()
- Returns:
- the diagElt
getDiagEltList
protected java.util.List getDiagEltList()
- Returns:
- the diagEltList
getSelectedEditPart
protected org.eclipse.gef.EditPart getSelectedEditPart()
- Returns:
- the selectedEditPart
getModelListener
protected Adapter getModelListener()
handleModelChanged
protected abstract void handleModelChanged(Notification msg)
- This method is called when an event occured on the model objects
- Parameters:
msg
- the event notification
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.