|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.lpex.samples.KeyReferenceAction
public class KeyReferenceAction
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:
set actionClass.ref com.ibm.lpex.samples.KeyReferenceAction
action refor associate it with a key (here, Ctrl+Shift+L in all contexts):
set keyAction.c-s-l.t.c.p ref
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 |
---|
public KeyReferenceAction()
Method Detail |
---|
public void doAction(LpexView lpexView)
doAction
in interface LpexAction
lpexView
- the document view in which the action is issuedpublic boolean available(LpexView lpexView)
available
in interface LpexAction
lpexView
- the document view for which the action availability is
queried
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |