Modelers

org.topcased.modeler.editor.properties.sections.graphics
Class AbstractGraphicPropertySection

java.lang.Object
  extended by org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended by 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


Field Summary
 
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
 
Constructor Summary
AbstractGraphicPropertySection()
           
 
Method Summary
 void aboutToBeHidden()
           
 void aboutToBeShown()
           
protected  void addListener()
           
 void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
           
protected  DiagramElement getDiagElt()
           
protected  java.util.List getDiagEltList()
           
protected  Adapter getModelListener()
           
protected  org.eclipse.gef.EditPart getSelectedEditPart()
           
protected abstract  void handleModelChanged(Notification msg)
          This method is called when an event occured on the model objects
protected  void removeListener()
           
 void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 
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
 

Constructor Detail

AbstractGraphicPropertySection

public AbstractGraphicPropertySection()
Method Detail

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

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.