org.openoffice.ide.eclipse.core.editors.main
Class AbstractOverviewSection

java.lang.Object
  extended by org.eclipse.ui.forms.AbstractFormPart
      extended by org.eclipse.ui.forms.SectionPart
          extended by org.openoffice.ide.eclipse.core.editors.main.AbstractOverviewSection
All Implemented Interfaces:
org.eclipse.ui.forms.IFormPart
Direct Known Subclasses:
IntegrationSection, LocalizedSection, MirrorsSection

public abstract class AbstractOverviewSection
extends org.eclipse.ui.forms.SectionPart

Abstract section class providing mechanisms to suspend the dirty state change notifications.

Author:
Cédric Bosdonnat

Constructor Summary
AbstractOverviewSection(org.eclipse.swt.widgets.Composite pParent, org.eclipse.ui.forms.editor.FormPage pPage, int pStyle)
          The SectionPart constructor.
 
Method Summary
abstract  void loadData()
          Load the non-localized data from the model into the fields.
 void markDirty()
          
 void setNotifyChanges(boolean pNotify)
          Inhibate the markDirty() function.
 
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, isDirty, isStale, markStale, refresh, setFormInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOverviewSection

public AbstractOverviewSection(org.eclipse.swt.widgets.Composite pParent,
                               org.eclipse.ui.forms.editor.FormPage pPage,
                               int pStyle)
The SectionPart constructor.

Parameters:
pParent - the parent composite
pPage - the form page to use
pStyle - the SectionPart style
Method Detail

setNotifyChanges

public void setNotifyChanges(boolean pNotify)
Inhibate the markDirty() function.

Parameters:
pNotify - whether to notify or not.

markDirty

public void markDirty()

Overrides:
markDirty in class org.eclipse.ui.forms.AbstractFormPart

loadData

public abstract void loadData()
Load the non-localized data from the model into the fields.