org.topcased.modeler.editor.properties.sections.graphics
Class ForegroundColorPropertySection
java.lang.Object
org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.topcased.modeler.editor.properties.sections.graphics.AbstractGraphicPropertySection
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
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
STANDARD_LABEL_WIDTH |
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.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 |
ForegroundColorPropertySection
public ForegroundColorPropertySection()
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()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.