|
Modelers | |||||||||
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.topcased.tabbedproperties.sections.AbstractTabbedPropertySection
org.topcased.tabbedproperties.sections.AbstractFileChooserPropertySection
public abstract class AbstractFileChooserPropertySection
An abstract implementation of a section with a field using a FileChooser composite (TextField with a browze Button).
creation : 3 avr. 07
Field Summary |
---|
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
STANDARD_LABEL_WIDTH |
Constructor Summary | |
---|---|
AbstractFileChooserPropertySection()
|
Method Summary | |
---|---|
boolean |
cannotBeBlank()
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected void |
createWidgets(org.eclipse.swt.widgets.Composite composite)
Section widgets should be created inside this method. |
protected abstract java.lang.String |
getFeatureValue()
Get the current feature value of the selected model object. |
protected FileChooser |
getFileChooser()
|
protected void |
handleTextModified()
Handle the combo modified event. |
protected void |
hookListeners()
Adds the listeners on the widgets |
boolean |
isCheckFileExistence()
|
protected boolean |
isRefreshing()
|
void |
refresh()
|
protected void |
setSectionData(org.eclipse.swt.widgets.Composite composite)
This method should be implemente to set layout data to the widgets created at AbstractTabbedPropertySection.createWidgets(Composite) . |
protected java.util.List<org.eclipse.core.runtime.IStatus> |
verifyFile()
Handler called to verify the file path on user text modification. |
Methods inherited from class org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection |
---|
aboutToBeHidden, aboutToBeShown, addListener, clearDecorators, createCommand, 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 AbstractFileChooserPropertySection()
Method Detail |
---|
public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class AbstractTabbedPropertySection
ISection.createControls(org.eclipse.swt.widgets.Composite, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
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
AbstractTabbedPropertySection.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 postion will depenend on parent composite.AbstractTabbedPropertySection.setSectionData(org.eclipse.swt.widgets.Composite)
protected void hookListeners()
hookListeners
in class AbstractTabbedPropertySection
protected void handleTextModified()
public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
ISection.refresh()
protected FileChooser getFileChooser()
protected boolean isRefreshing()
protected java.util.List<org.eclipse.core.runtime.IStatus> verifyFile()
Event
- raised on the file path field
public boolean isCheckFileExistence()
public boolean cannotBeBlank()
protected abstract java.lang.String getFeatureValue()
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.