|
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.BlockTransferAction
public class BlockTransferAction
Sample action blockTransfer - copy selection to new lines. This action is similar to the blockCopy default editor action, but will copy the selection to new lines.
Here is the BlockTransferAction source code.
To run this sample:
set actionClass.blockTransfer com.ibm.lpex.samples.BlockTransferAction
action blockTransferor associate it with a key (here, Alt+T):
set keyAction.a-t blockTransfer
TestUserProfile
,
All the samples
Constructor Summary | |
---|---|
BlockTransferAction()
|
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 BlockTransferAction()
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 |