|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITechnologyFlavorLifecycle
An ITechnologyFlavorLifecycle provides an opportunity to manage other technologies that are related to a set of resources, but may not be EMF based.
The ITechnologyFlavorLifecycles are integrated into the IEditModel framework through IEditingDomains. As lifecycle operations are invoked on the IEditModelScribbler, those methods will be delegated into the Lifecycle at the appropriate time.
Field Summary | |
---|---|
static int |
DISCARD
|
static int |
SAVE
|
Method Summary | |
---|---|
void |
close(int option,
IProgressMonitor monitor)
Close the model elements held onto by the manager. |
ITechnologyFlavor |
createFlavor(IAdaptable adaptable)
|
void |
discard(IProgressMonitor monitor)
Discard any changes made to this point and release any model elements held onto by the manager. |
java.lang.String |
getId()
Returns the identifier for this manager. |
void |
revert(IProgressMonitor monitor)
Revert all changes made to the form found on disk. |
void |
save(boolean force,
IProgressMonitor monitor)
Persist all changes from the models managed by this ITechnologyFlavorManager |
Field Detail |
---|
static final int SAVE
static final int DISCARD
Method Detail |
---|
java.lang.String getId()
ITechnologyFlavor createFlavor(IAdaptable adaptable)
void save(boolean force, IProgressMonitor monitor)
This method will also persist any requests to delete resource (from deleteResource()).
force
- Specifies whether the save should be forcedmonitor
-
EditModelException
void revert(IProgressMonitor monitor)
monitor
- void discard(IProgressMonitor monitor)
monitor
- void close(int option, IProgressMonitor monitor)
option
- monitor
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |