public abstract class AbstractFormPart extends java.lang.Object implements IFormPart
org.eclipse.ui.forms.widgets.Section
Constructor and Description |
---|
AbstractFormPart() |
Modifier and Type | Method and Description |
---|---|
void |
commit(boolean onSave)
Commits the part.
|
void |
dispose()
Disposes the part.
|
IManagedForm |
getManagedForm()
Returns the form that manages this part.
|
void |
initialize(IManagedForm form)
Initializes the part.
|
boolean |
isDirty()
Tests whether the part is dirty i.e.
|
boolean |
isStale()
Tests whether the part is stale i.e.
|
void |
markDirty()
Marks the part dirty.
|
void |
markStale()
Marks the part stale.
|
void |
refresh()
Refreshes the section after becoming stale (falling behind data in the
model).
|
void |
setFocus()
Instructs the part to grab keyboard focus.
|
boolean |
setFormInput(java.lang.Object input)
Sets the overall form input.
|
public void initialize(IManagedForm form)
IFormPart
initialize
in interface IFormPart
form
- the managed form that manages the partorg.eclipse.ui.forms.IFormPart#initialize(org.eclipse.ui.forms.IManagedForm)
public IManagedForm getManagedForm()
public void dispose()
public void commit(boolean onSave)
public boolean setFormInput(java.lang.Object input)
setFormInput
in interface IFormPart
input
- the form input objectfalse
public void setFocus()
public void refresh()
public void markDirty()
public boolean isDirty()
public boolean isStale()
public void markStale()
Copyright © 2007–2020. All rights reserved.