Extension SDK 10.1.2

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.
 
Method Summary
 int getPinState()
          Get the pin state.
 void setPinState(int state)
          Set the pin state.
 

Field Detail

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values
Method Detail

getPinState

public int getPinState()
Get the pin state.

Returns:
the current pin state.
See Also:
PIN_NONE, PIN_VIEW, PIN_OBJECT

setPinState

public void setPinState(int state)
Set the pin state.

Parameters:
state - one of PIN_NONE, PIN_VIEW, or PIN_OBJECT.
See Also:
PIN_NONE, PIN_VIEW, PIN_OBJECT

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.