org.radrails.db.internal.ui.editors
Class EnvironmentSection

java.lang.Object
  extended byorg.eclipse.ui.forms.AbstractFormPart
      extended byorg.eclipse.ui.forms.SectionPart
          extended byorg.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.
 
Method Summary
 void commit(boolean onSave)
           
 void refresh()
           
 void saveComplete()
          Called when the save is complete.
 void setModel(DatabaseDescriptor model)
          Sets the model for this section.
 
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
 

Constructor Detail

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.
Method Detail

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.