|
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
public abstract class AbstractJADEditorPage
Abstract superclass of the multi-page editor pages.
Constructor Summary | |
---|---|
AbstractJADEditorPage(org.eclipse.mtj.internal.ui.editors.jad.form.JADFormEditor editor,
String id,
String title)
A constructor that creates the JAD EditorPage and initializes it with the editor. |
|
AbstractJADEditorPage(String id)
A constructor that creates the JAD EditorPage. |
|
AbstractJADEditorPage(String id,
String title)
A constructor that creates the JAD EditorPage. |
Method Summary | |
---|---|
protected void |
configureFormText(Form form,
FormText text)
|
protected FormText |
createClient(Composite section,
String content,
FormToolkit toolkit,
IHyperlinkListener listener)
|
protected void |
createErrorMessageHandler(IManagedForm managedForm)
|
protected void |
createFormContent(IManagedForm managedForm)
|
protected Section |
createStaticBasicSection(FormToolkit toolkit,
Composite parent,
String text,
String description)
|
protected Section |
createStaticSection(FormToolkit toolkit,
Composite parent,
String text)
|
protected Composite |
createStaticSectionClient(FormToolkit toolkit,
Composite parent)
|
void |
dispose()
|
void |
doSaveAs()
|
void |
editorDirtyStateChanged()
Let the editor know that the dirty state has changed. |
abstract void |
editorInputChanged()
An indication to this page that the editor input has been updated external to Eclipse and the page should be updated. |
IMessageManager |
getErrorMessageManager()
|
protected abstract String |
getHelpResource()
|
IJavaProject |
getJavaProject()
Return the java project holding the JAD file. |
protected IManifestPreferenceStore |
getPreferenceStore()
Get the preference store being edited. |
abstract String |
getTitle()
|
void |
initialize(FormEditor editor)
|
boolean |
isDirty()
|
abstract boolean |
isManagingProperty(String property)
Return a boolean indicating whether the specified property is managed by this page. |
boolean |
isSaveAsAllowed()
|
void |
linkActivated(HyperlinkEvent e)
Subclasses can extend this method and add custom link activation handling. |
void |
linkEntered(HyperlinkEvent e)
|
void |
linkExited(HyperlinkEvent e)
|
void |
setDirty(boolean dirty)
Set the dirty flag and let the editor know the state has changed. |
void |
setInitializationData(IConfigurationElement cfig,
String propertyName,
Object data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractJADEditorPage(org.eclipse.mtj.internal.ui.editors.jad.form.JADFormEditor editor, String id, String title)
editor
- the parent editorid
- the unique identifiertitle
- the page titlepublic AbstractJADEditorPage(String id)
initialize
method if this constructor is
used. The page title will be the same as the id.
id
- a unique page identifierpublic AbstractJADEditorPage(String id, String title)
initialize
method if this constructor is
used.
id
- a unique page identifiertitle
- a user-friendly page titleMethod Detail |
---|
public void dispose()
public void doSaveAs()
public void editorDirtyStateChanged()
public abstract void editorInputChanged()
public IMessageManager getErrorMessageManager()
public IJavaProject getJavaProject()
public abstract String getTitle()
public void initialize(FormEditor editor)
public boolean isDirty()
public abstract boolean isManagingProperty(String property)
property
-
public boolean isSaveAsAllowed()
public void linkActivated(HyperlinkEvent e)
e
- an event containing information about the hyperlinkorg.eclipse.ui.forms.events.IHyperlinkListener#linkActivated(org.eclipse.ui.forms.events.HyperlinkEvent)
public void linkEntered(HyperlinkEvent e)
public void linkExited(HyperlinkEvent e)
public void setDirty(boolean dirty)
dirty
- whether the page contents are currently dirtypublic void setInitializationData(IConfigurationElement cfig, String propertyName, Object data)
protected void configureFormText(Form form, FormText text)
form
- text
- protected final FormText createClient(Composite section, String content, FormToolkit toolkit, IHyperlinkListener listener)
section
- content
- toolkit
-
protected void createErrorMessageHandler(IManagedForm managedForm)
managedForm
- protected void createFormContent(IManagedForm managedForm)
protected final Section createStaticBasicSection(FormToolkit toolkit, Composite parent, String text, String description)
toolkit
- parent
- text
- description
-
protected final Section createStaticSection(FormToolkit toolkit, Composite parent, String text)
toolkit
- parent
- text
-
protected Composite createStaticSectionClient(FormToolkit toolkit, Composite parent)
toolkit
- parent
-
protected abstract String getHelpResource()
protected IManifestPreferenceStore getPreferenceStore()
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |