public abstract class AbstractFormPart extends Object implements IFormPart
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. its widgets have state that is
newer than the data in the model.
|
boolean |
isStale()
Tests whether the part is stale i.e. its widgets have state that is
older than the data in the model.
|
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(Object input)
Sets the overall form input.
|
public void initialize(IManagedForm form)
IFormPart
initialize
in interface IFormPart
form
- the managed form that manages the partIFormPart.initialize(org.eclipse.ui.forms.IManagedForm)
public IManagedForm getManagedForm()
public void dispose()
public void commit(boolean onSave)
public boolean setFormInput(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 (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.