Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Mobile Tools for Java
Release 1.0

org.eclipse.mtj.ui.editors.jad
Class JADPropertiesEditorPage


java.lang.Object
  extended by FormPage
      extended by 

org.eclipse.mtj.ui.editors.jad.AbstractJADEditorPage
          extended by 
org.eclipse.mtj.ui.editors.jad.JADPropertiesEditorPage

public abstract class JADPropertiesEditorPage
extends AbstractJADEditorPage

An editor part page that may be added to the JAD editor.

Since:
1.0

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

fieldEditors

protected FieldEditor[] fieldEditors
The field editors in use

Constructor Detail

JADPropertiesEditorPage

public 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.

Parameters:
editor - the parent editor
id - the unique identifier
title - the page title
Restriction:
This constructor is not intended to be referenced by clients.

JADPropertiesEditorPage

public JADPropertiesEditorPage(
String id,
                               
String title)
A constructor that creates the JAD Properties EditorPage. The parent editor need to be passed in the initialize method if this constructor is used.

Parameters:
id - a unique page identifier
title - a user-friendly page title
Method Detail

doSave

public void doSave(IProgressMonitor monitor)
Saves the contents of this part by storing all FieldEditor's values.

See Also:
org.eclipse.ui.forms.editor.FormPage#doSave(org.eclipse.core.runtime.IProgressMonitor)

editorInputChanged

public void editorInputChanged()
Description copied from class: AbstractJADEditorPage
An indication to this page that the editor input has been updated external to Eclipse and the page should be updated.

Specified by:
editorInputChanged in class AbstractJADEditorPage

getDescriptors

public 
DescriptorPropertyDescription[] getDescriptors()
Get all application descriptor property description for the current page ID.

Returns:
the list of property descriptors for the current page ID

isManagingProperty

public boolean isManagingProperty(
String property)
Description copied from class: AbstractJADEditorPage
Return a boolean indicating whether the specified property is managed by this page.

Specified by:
isManagingProperty in class AbstractJADEditorPage
Returns:

propertyChange

public void propertyChange(PropertyChangeEvent event)

setFocus

public void setFocus()

addContextHelp

protected abstract void addContextHelp(Composite control)
Sets the help context on the given control.

Parameters:
control - the control on which to register the context help

createFormContent

protected void createFormContent(IManagedForm managedForm)
Overrides:
createFormContent in class AbstractJADEditorPage

createSectionContent

protected void createSectionContent(IManagedForm managedForm,
                                    Composite composite,
                                    IPropertyChangeListener propertyChangeListener)
Create a Section Client Content for the descriptors available in the page.

Parameters:
managedForm -
composite -
propertyChangeListener -

doGetDescriptors

protected 
DescriptorPropertyDescription[] doGetDescriptors()
sub class may override this method to provide its own descriptor provide strategy

Returns:

getSectionDescription

protected abstract 
String getSectionDescription()
Returns:

getSectionTitle

protected abstract 
String getSectionTitle()
Returns:

setInput

protected void setInput(IEditorInput input)

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire