|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.TestUserProfile.FindNextSelection
public static class TestUserProfile.FindNextSelection
Sample action findNextSelection - first search for the selected text, if any. This action is similar to the findNext built-in editor action, but will find the next occurrence of the selected text if there is a selection in the current view suitable as find text. This selection is not recorded in the findText parameters. The found text is selected.
Defined as a separate, named class inside TestUserProfile
(where
you can also see its source
code) so that it can be easily registered by itself, when TestUserProfile
is not used as the user profile. For example:
set actionClass.findNextSelection com.ibm.lpex.samples.TestUserProfile$FindNextSelection set keyAction.c-n.t.p.c findNextSelection
Constructor Summary | |
---|---|
TestUserProfile.FindNextSelection()
|
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 TestUserProfile.FindNextSelection()
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 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |