org.radrails.db.internal.ui.editors
Class EnvironmentSection
java.lang.Object
org.eclipse.ui.forms.AbstractFormPart
org.eclipse.ui.forms.SectionPart
org.radrails.db.internal.ui.editors.EnvironmentSection
- All Implemented Interfaces:
- org.eclipse.ui.forms.IFormPart
- public class EnvironmentSection
- extends org.eclipse.ui.forms.SectionPart
Represents an Environment as a SectionPart.
- Version:
- 0.3.1
- Author:
- mkent
Constructor Summary |
EnvironmentSection(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
int style)
Creates a new EnvironmentSection. |
Methods inherited from class org.eclipse.ui.forms.SectionPart |
expansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocus |
Methods inherited from class org.eclipse.ui.forms.AbstractFormPart |
dispose, getManagedForm, initialize, isDirty, isStale, markDirty, markStale, setFormInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentSection
public EnvironmentSection(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
int style)
- Creates a new EnvironmentSection.
- Parameters:
parent
- The parent of this editor.toolkit
- The toolkit for this section.style
- The style of this section.
setModel
public void setModel(DatabaseDescriptor model)
- Sets the model for this section.
- Parameters:
model
- The DatabaseDescriptor which represents the model.
refresh
public void refresh()
- See Also:
IFormPart.refresh()
commit
public void commit(boolean onSave)
- See Also:
IFormPart.commit(boolean)
saveComplete
public void saveComplete()
- Called when the save is complete.