oracle.ide.addin
Interface Pinnable
- All Known Implementing Classes:
- AbstractPinnable
- public interface Pinnable
The Pinnable interface provides a pinning API to allow the implementation to
ignore changes in selection and/or active view.
Field Summary |
static int |
PIN_NONE
Pin state indicating that the Pinnable is not pinned to anything and should
track the selection of the active view, updating to track the selection of
the new active view upon changes of active view from the currently active
view to another view. |
static int |
PIN_OBJECT
Pin state indicating that the Pinnable should stay set to its current
contents, ignoring all selection changes within the currently active view
and all changes of active view from the currently active view to another
view. |
static int |
PIN_VIEW
Pin state indicating that the Pinnable should track the selection of the
currently active view ignoring all changes of active view from the
currently active view to another view. |
PIN_NONE
public static final int PIN_NONE
- Pin state indicating that the Pinnable is not pinned to anything and should
track the selection of the active view, updating to track the selection of
the new active view upon changes of active view from the currently active
view to another view.
PIN_VIEW
public static final int PIN_VIEW
- Pin state indicating that the Pinnable should track the selection of the
currently active view ignoring all changes of active view from the
currently active view to another view.
PIN_OBJECT
public static final int PIN_OBJECT
- Pin state indicating that the Pinnable should stay set to its current
contents, ignoring all selection changes within the currently active view
and all changes of active view from the currently active view to another
view.
getPinState
public int getPinState()
- Get the pin state.
- Returns:
- the current pin state.
- See Also:
PIN_OBJECT
,
PIN_VIEW
,
PIN_NONE
setPinState
public void setPinState(int state)
- Set the pin state.
- Parameters:
state
- one of PIN_OBJECT, PIN_VIEW, or PIN_NONE.- See Also:
PIN_OBJECT
,
PIN_VIEW
,
PIN_NONE