Class DescriptionFormPage
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.forms.editor.FormPage
org.libreoffice.ide.eclipse.core.editors.description.DescriptionFormPage
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.ui.forms.editor.IFormPage,org.eclipse.ui.IEditorPart,org.eclipse.ui.ISaveablePart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
public class DescriptionFormPage
extends org.eclipse.ui.forms.editor.FormPage
The form page of the package editor helping to configure the project's description and main properties.
-
Field Summary
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUTFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
ConstructorsConstructorDescriptionDescriptionFormPage(org.eclipse.ui.forms.editor.FormEditor editor, String pageId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidcreateFormContent(org.eclipse.ui.forms.IManagedForm managedForm) getModel()voidReload the data from the model in the sections.voidsetModel(DescriptionModel model) Methods inherited from class org.eclipse.ui.forms.editor.FormPage
createPartControl, dispose, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndexMethods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartNameMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSiteMethods inherited from interface org.eclipse.ui.ISaveablePart
isSaveOnCloseNeededMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleToolTip, removePropertyListener
-
Constructor Details
-
DescriptionFormPage
Constructor.- Parameters:
editor- the editor where to add the pagepageId- the page identifier
-
-
Method Details
-
setModel
- Parameters:
model- the description.xml model to set
-
getModel
- Returns:
- the description model for the page.
-
createFormContent
protected void createFormContent(org.eclipse.ui.forms.IManagedForm managedForm) - Overrides:
createFormContentin classorg.eclipse.ui.forms.editor.FormPage
-
canLeaveThePage
public boolean canLeaveThePage()- Specified by:
canLeaveThePagein interfaceorg.eclipse.ui.forms.editor.IFormPage- Overrides:
canLeaveThePagein classorg.eclipse.ui.forms.editor.FormPage
-
reloadData
public void reloadData()Reload the data from the model in the sections.
-