|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.forms.AbstractFormPart
org.eclipse.ui.forms.SectionPart
org.openoffice.ide.eclipse.core.editors.utils.AbstractSection<ModelType>
ModelType
- the type of the model object for the sectionpublic abstract class AbstractSection<ModelType extends IModel>
Abstract section class providing mechanisms to suspend the dirty state change notifications.
Constructor Summary | |
---|---|
AbstractSection(org.eclipse.swt.widgets.Composite pParent,
org.eclipse.ui.forms.editor.FormPage pPage,
int pStyle)
The SectionPart constructor. |
Method Summary | |
---|---|
ModelType |
getModel()
|
boolean |
isDirty()
|
abstract void |
loadData()
Load the non-localized data from the model into the fields. |
void |
modelChanged()
Marks the editor as non dirty. |
void |
modelSaved()
Marks the editor as saved. |
void |
setModel(ModelType pModel)
|
Methods inherited from class org.eclipse.ui.forms.SectionPart |
---|
expansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocus |
Methods inherited from class org.eclipse.ui.forms.AbstractFormPart |
---|
commit, dispose, getManagedForm, initialize, isStale, markDirty, markStale, refresh, setFormInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSection(org.eclipse.swt.widgets.Composite pParent, org.eclipse.ui.forms.editor.FormPage pPage, int pStyle)
pParent
- the parent compositepPage
- the form page to usepStyle
- the SectionPart styleMethod Detail |
---|
public ModelType getModel()
public void setModel(ModelType pModel)
pModel
- the new data model for the sectionpublic boolean isDirty()
isDirty
in interface org.eclipse.ui.forms.IFormPart
isDirty
in class org.eclipse.ui.forms.AbstractFormPart
public void modelSaved()
modelSaved
in interface IModelChangedListener
public void modelChanged()
modelChanged
in interface IModelChangedListener
public abstract void loadData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |