|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A saveable compare model is used to buffer changes made when comparing or merging a model. A compare model can be shared between multiple typed elements within a comparison. The compare model is used by the comparison container in order to determine when a save is required.
This interface is not intended to be implemented by clients. Clients
can instead subclass SaveableCompareModel.
| Field Summary | |
|---|---|
static int |
PROP_DIRTY
The property id for isDirty. |
| Method Summary | |
|---|---|
void |
addPropertyListener(IPropertyListener listener)
Add a property change listener. |
void |
doRevert(IProgressMonitor monitor)
Revert any changes in the buffer back to the last saved state. |
void |
removePropertyListener(IPropertyListener listener)
Remove a property change listener. |
| Methods inherited from interface org.eclipse.ui.ISaveableModel |
|---|
doSave, getImageDescriptor, getName, getToolTipText, isDirty |
| Field Detail |
public static final int PROP_DIRTY
isDirty.
| Method Detail |
public void doRevert(IProgressMonitor monitor)
monitor - a progress monitor on null
if progress feedback is not requiredpublic void addPropertyListener(IPropertyListener listener)
listener - the listenerpublic void removePropertyListener(IPropertyListener listener)
listener - the listener
|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.