LPEX
4.4.0

com.ibm.lpex.samples
Class KeyReferenceAction

java.lang.Object
  extended by com.ibm.lpex.samples.KeyReferenceAction
All Implemented Interfaces:
LpexAction

public class KeyReferenceAction
extends Object
implements LpexAction

Sample action ref - display a key reference for the current view. Use this action to display a dialog with the editor actions available in the current document view, and their associated keys.

Here is the KeyReferenceAction source code.

To run this sample:

See Also:
All the samples

Constructor Summary
KeyReferenceAction()
           
 
Method Summary
 boolean available(LpexView lpexView)
          Returns the availability of this action.
 void doAction(LpexView lpexView)
          Runs the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyReferenceAction

public KeyReferenceAction()
Method Detail

doAction

public void doAction(LpexView lpexView)
Runs the action. Displays the key reference dialog.

Specified by:
doAction in interface LpexAction
Parameters:
lpexView - the document view in which the action is issued

available

public boolean available(LpexView lpexView)
Returns the availability of this action. This action can run in any view that has an associated window.

Specified by:
available in interface LpexAction
Parameters:
lpexView - the document view for which the action availability is queried

LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.