|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection
org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractFontPropertySection
public abstract class AbstractFontPropertySection
An abstract Font section used to select a Font. Creation 29 sept. 06
Field Summary |
---|
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
STANDARD_LABEL_WIDTH |
Constructor Summary | |
---|---|
AbstractFontPropertySection()
|
Method Summary | |
---|---|
protected void |
createWidgets(org.eclipse.swt.widgets.Composite composite)
Section widgets should be created inside this method. |
protected abstract org.eclipse.swt.graphics.Font |
getFontValue()
Get the new Font value of the font feature for the section. |
protected void |
handleButtonPressed()
Called when the selected font changes |
protected void |
hookListeners()
Widgets created at AbstractTabbedPropertySection.createWidgets(Composite) may listen platform
events. |
void |
refresh()
|
protected void |
setSectionData(org.eclipse.swt.widgets.Composite composite)
This method should be implemented to set layout data to the widgets created at AbstractTabbedPropertySection.createWidgets(Composite) . |
Methods inherited from class org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection |
---|
aboutToBeHidden, aboutToBeShown, addListener, clearDecorators, createCommand, createControls, getActivePage, getEditingDomain, getEObject, getEObjectList, getFeature, getLabelText, getMainComposite, getMessageManager, getModelListener, getSectionComposite, getStandardLabelWidth, getStatusLineManager, handleModelChanged, isReadOnly, makeContributions, removeListener, setDecorator, setErrorDecorator, setErrorMessage, setInfoDecorator, setInput, setMessage, setWarningDecorator |
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 |
---|
public AbstractFontPropertySection()
Method Detail |
---|
protected void createWidgets(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySection
AbstractTabbedPropertySection.setSectionData(Composite)
If widgets
has listeners implement the AbstractTabbedPropertySection.hookListeners()
.
createWidgets
in class AbstractTabbedPropertySection
composite
- the parent CompositeAbstractTabbedPropertySection.createWidgets(org.eclipse.swt.widgets.Composite)
protected void setSectionData(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySection
AbstractTabbedPropertySection.createWidgets(Composite)
. This improves visibility
setSectionData
in class AbstractTabbedPropertySection
composite
- Sometimes widgets will be set formDatas and position will
depend on parent composite.AbstractTabbedPropertySection.setSectionData(org.eclipse.swt.widgets.Composite)
protected void hookListeners()
AbstractTabbedPropertySection
AbstractTabbedPropertySection.createWidgets(Composite)
may listen platform
events. Set them here in order to improve visibility
hookListeners
in class AbstractTabbedPropertySection
AbstractTabbedPropertySection.hookListeners()
protected void handleButtonPressed()
public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
AbstractPropertySection.refresh()
protected abstract org.eclipse.swt.graphics.Font getFontValue()
|
Copyright 2007 Anyware Technologies. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |