|
LPEX 3.6.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.BlockNewMarkToMouseAction
public class BlockNewMarkToMouseAction
Sample action blockNewMarkToMouse - start new selections on new mouse drags.
LPEX non-stream selections are by default extended on mouse drags. They must be explicitly cleared (with, for example, Alt+U) before marking a new block. This action is similar to the blockMarkToMouse default editor action, but it makes a new mouse button 1 drag start a new selection.
Here is the BlockNewMarkToMouseAction source code.
To redefine the default blockMarkToMouse action:
set actionClass.blockMarkToMouse com.ibm.lpex.samples.BlockNewMarkToMouseAction
MouseReselect
,
All the samples
Constructor Summary | |
---|---|
BlockNewMarkToMouseAction()
|
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 BlockNewMarkToMouseAction()
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.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |