|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFormPage
org.eclipse.mtj.ui.editors.jad.AbstractJADEditorPage
org.eclipse.mtj.ui.editors.jad.JADPropertiesEditorPage
public abstract class JADPropertiesEditorPage
An editor part page that may be added to the JAD editor.
Field Summary | |
---|---|
protected FieldEditor[] |
fieldEditors
The field editors in use |
Constructor Summary | |
---|---|
JADPropertiesEditorPage(org.eclipse.mtj.internal.ui.editors.jad.form.JADFormEditor editor,
String id,
String title)
A constructor that creates the JAD Properties EditorPage and initializes it with the editor. |
|
JADPropertiesEditorPage(String id,
String title)
A constructor that creates the JAD Properties EditorPage. |
Method Summary | |
---|---|
protected abstract void |
addContextHelp(Composite control)
Sets the help context on the given control. |
protected void |
createFormContent(IManagedForm managedForm)
|
protected void |
createSectionContent(IManagedForm managedForm,
Composite composite,
IPropertyChangeListener propertyChangeListener)
Create a Section Client Content for the descriptors available in the page. |
protected DescriptorPropertyDescription[] |
doGetDescriptors()
sub class may override this method to provide its own descriptor provide strategy |
void |
doSave(IProgressMonitor monitor)
Saves the contents of this part by storing all FieldEditor's values. |
void |
editorInputChanged()
An indication to this page that the editor input has been updated external to Eclipse and the page should be updated. |
DescriptorPropertyDescription[] |
getDescriptors()
Get all application descriptor property description for the current page ID . |
protected abstract String |
getSectionDescription()
|
protected abstract String |
getSectionTitle()
|
boolean |
isManagingProperty(String property)
Return a boolean indicating whether the specified property is managed by this page. |
void |
propertyChange(PropertyChangeEvent event)
|
void |
setFocus()
|
protected void |
setInput(IEditorInput input)
|
Methods inherited from class org.eclipse.mtj.ui.editors.jad.AbstractJADEditorPage |
---|
configureFormText, createClient, createErrorMessageHandler, createStaticBasicSection, createStaticSection, createStaticSectionClient, dispose, doSaveAs, editorDirtyStateChanged, getErrorMessageManager, getHelpResource, getJavaProject, getPreferenceStore, getTitle, initialize, isDirty, isSaveAsAllowed, linkActivated, linkEntered, linkExited, setDirty, setInitializationData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FieldEditor[] fieldEditors
Constructor Detail |
---|
public JADPropertiesEditorPage(org.eclipse.mtj.internal.ui.editors.jad.form.JADFormEditor editor, String id, String title)
editor
- the parent editorid
- the unique identifiertitle
- the page titlepublic JADPropertiesEditorPage(String id, String title)
initialize
method if this
constructor is used.
id
- a unique page identifiertitle
- a user-friendly page titleMethod Detail |
---|
public void doSave(IProgressMonitor monitor)
org.eclipse.ui.forms.editor.FormPage#doSave(org.eclipse.core.runtime.IProgressMonitor)
public void editorInputChanged()
AbstractJADEditorPage
editorInputChanged
in class AbstractJADEditorPage
public DescriptorPropertyDescription[] getDescriptors()
ID
.
public boolean isManagingProperty(String property)
AbstractJADEditorPage
isManagingProperty
in class AbstractJADEditorPage
public void propertyChange(PropertyChangeEvent event)
public void setFocus()
protected abstract void addContextHelp(Composite control)
control
- the control on which to register the context helpprotected void createFormContent(IManagedForm managedForm)
createFormContent
in class AbstractJADEditorPage
protected void createSectionContent(IManagedForm managedForm, Composite composite, IPropertyChangeListener propertyChangeListener)
managedForm
- composite
- propertyChangeListener
- protected DescriptorPropertyDescription[] doGetDescriptors()
protected abstract String getSectionDescription()
protected abstract String getSectionTitle()
protected void setInput(IEditorInput input)
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |