public interface IPolicy extends IAdaptable.Bound<IVisualPart<? extends javafx.scene.Node>>
IPolicy interface extends
IAdaptable.Bound, i.e. it is bound to an
IAdaptable, its so called getHost().adaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Modifier and Type | Method and Description |
|---|---|
ITransactionalOperation |
commit()
Returns an
ITransactionalOperation that performs all
manipulations applied by the policy since the previous init()
call. |
default IVisualPart<? extends javafx.scene.Node> |
getHost()
|
void |
init()
Initializes the policy, so that the policy's "work" methods can be used.
|
void |
rollback()
Puts back this policy into an uninitialized state, reverting any changes
that have been applied via the policy's work methods since the preceding
init() call. |
adaptableProperty, getAdaptable, setAdaptableITransactionalOperation commit()
ITransactionalOperation that performs all
manipulations applied by the policy since the previous init()
call.ITransactionalOperation that performs all
manipulations applied by the policy since the last
init() call.default IVisualPart<? extends javafx.scene.Node> getHost()
IPolicy.void init()
IllegalStateException, as well as re-initializing before
committing or rolling back.void rollback()
init() call.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.