public interface ISecondarySaveableSource
ISaveablePart
objects
created or managed originally by other parts.
In case the same ISaveablePart
object is created originally by a
"primary" part and shown or edited by multiple parts, the "primary" part
might want be the only UI element showing the "dirty" state in the UI.
This interface allows "primary" parts define the default behavior for all "secondary" parts; and allows "secondary" parts to override this and decide how they should behave and how they should be represented in the UI.
IAdaptable.getAdapter(Class)
. If such part is not implementing this
interface directly, it can considered as primary "source" part, and can
define a default behavior for all secondary parts.
Per default, dirty state of "secondary" parts is ignored by the framework.
Modifier and Type | Method and Description |
---|---|
default boolean |
isDirtyStateSupported()
Whether the dirty state changes should be supported by the framework if
the part directly implements
ISecondarySaveableSource . |
default boolean isDirtyStateSupported()
ISecondarySaveableSource
.
If the part providing the adapter is not implementing
ISecondarySaveableSource
, return value defines the default
behavior of "secondary" parts connected to this part.
false
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.