Package org.eclipse.gef.mvc.fx.ui.parts
Interface IDirtyStateProvider
-
- All Known Implementing Classes:
HistoryBasedDirtyStateProvider
public interface IDirtyStateProviderA delegate support that can be used byISaveableParts to maintain their dirty state based on anIOperationHistory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javafx.beans.property.ReadOnlyBooleanPropertydirtyProperty()A read-only property that provides the current dirty state.booleanisDirty()Returns the dirty state of this support.voidmarkNonDirty()Notifies the provider to mark the current state as being unchanged with respect to the saved state.
-
-
-
Method Detail
-
dirtyProperty
javafx.beans.property.ReadOnlyBooleanProperty dirtyProperty()
A read-only property that provides the current dirty state.- Returns:
- A read-only boolean property.
-
isDirty
boolean isDirty()
Returns the dirty state of this support.- Returns:
trueif the source is dirty,falseotherwise.
-
markNonDirty
void markNonDirty()
Notifies the provider to mark the current state as being unchanged with respect to the saved state.
-
-