Modelers

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

java.lang.Object
  extended by org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended by org.topcased.modeler.editor.properties.sections.graphics.AbstractGraphicPropertySection
          extended by org.topcased.modeler.editor.properties.sections.graphics.DiagramElementOrientationPropertySection
All Implemented Interfaces:
org.eclipse.ui.views.properties.tabbed.ISection

public class DiagramElementOrientationPropertySection
extends AbstractGraphicPropertySection

The Orientation/Direction section on the graphics tab. Creation : 21 Nov. 2007


Field Summary
 
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
 
Constructor Summary
DiagramElementOrientationPropertySection()
           
 
Method Summary
 void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage tabbedPropertySheetPage)
           
protected  void handleDirectionChanged(boolean positiveWay)
          Called when the selected color changes
protected  void handleModelChanged(Notification msg)
          This method is called when an event occured on the model objects
 
Methods inherited from class org.topcased.modeler.editor.properties.sections.graphics.AbstractGraphicPropertySection
aboutToBeHidden, aboutToBeShown, addListener, getDiagElt, getDiagEltList, getModelListener, getSelectedEditPart, removeListener, setInput
 
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

DiagramElementOrientationPropertySection

public DiagramElementOrientationPropertySection()
Method Detail

createControls

public void createControls(org.eclipse.swt.widgets.Composite parent,
                           org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage tabbedPropertySheetPage)
Specified by:
createControls in interface org.eclipse.ui.views.properties.tabbed.ISection
Overrides:
createControls in class AbstractGraphicPropertySection
See Also:
AbstractGraphicPropertySection.createControls(org.eclipse.swt.widgets.Composite, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)

handleDirectionChanged

protected void handleDirectionChanged(boolean positiveWay)
Called when the selected color changes

Parameters:
positiveWay - indicate whether rotation should be performed 90� clockwise or not

handleModelChanged

protected void handleModelChanged(Notification msg)
Description copied from class: AbstractGraphicPropertySection
This method is called when an event occured on the model objects

Specified by:
handleModelChanged in class AbstractGraphicPropertySection
Parameters:
msg - the event notification
See Also:
AbstractGraphicPropertySection.handleModelChanged(org.eclipse.emf.common.notify.Notification)

Modelers

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