|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.lpex.samples.FindNextDefaultAction
public class FindNextDefaultAction
Sample action findNextDefault - find next default text occurrence. This action is similar to the findNext built-in editor action, but will find the next occurrence of the global-scoped find text (default.findText.findText), rather than the current view-scoped find text. The global find text is usually set to the text lately searched from the live-find dialog of any view.
Here is the FindNextDefaultAction source code.
To run this sample:
set actionClass.findNextDefault com.ibm.lpex.samples.FindNextDefaultAction
action findNextDefaultor associate it with a key (here, Ctrl+N in all window contexts):
set keyAction.c-n.t.c.p findNextDefault
All the samples| Constructor Summary | |
|---|---|
FindNextDefaultAction()
|
|
| 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 FindNextDefaultAction()
| Method Detail |
|---|
public void doAction(LpexView lpexView)
doAction in interface LpexActionlpexView - the document view in which the action is issuedpublic boolean available(LpexView lpexView)
available in interface LpexActionlpexView - 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 | |||||||||