Modelers

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

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.ForegroundColorPropertySection
All Implemented Interfaces:
org.eclipse.ui.views.properties.tabbed.ISection

public class ForegroundColorPropertySection
extends AbstractGraphicPropertySection

The ForegroundColor section on the graphics tab. Creation 31 mars 2006


Field Summary
 
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
 
Constructor Summary
ForegroundColorPropertySection()
           
 
Method Summary
 void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage tabbedPropertySheetPage)
           
protected  java.lang.String getLabelText()
           
protected  void handleColorChanged()
          Called when the selected color changes
protected  void handleModelChanged(Notification msg)
          This method is called when an event occured on the model objects
 void refresh()
           
 
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, shouldUseExtraSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForegroundColorPropertySection

public ForegroundColorPropertySection()
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)

handleColorChanged

protected void handleColorChanged()
Called when the selected color changes


refresh

public void refresh()
Specified by:
refresh in interface org.eclipse.ui.views.properties.tabbed.ISection
Overrides:
refresh in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
See Also:
AbstractPropertySection.refresh()

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

getLabelText

protected java.lang.String getLabelText()

Modelers

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