|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.TestUserProfile
Sample user profile - customize keys, commands, actions. It customizes the base editor profile (if not "vi") by redefining several settings and keys:
The user profile is run during the processing of the updateProfile command. The updateProfile command is normally run when a document view is created, and it may be issued at any time to allow the document view to reflect changes to the profile.
Here is the TestUserProfile source code.
To run this sample:
set [default.]updateProfile.userProfile com.ibm.lpex.samples.TestUserProfile
updateProfile
A user profile is a public Java class that has a method of the form:
public static void userProfile(LpexView lpexView)See the updateProfile.userProfile parameter.
Method Summary | |
---|---|
static String | parser(LpexView lpexView)
Determines the document parser which will run after this user profile completes. |
static void | userProfile(LpexView lpexView)
This is the method in a user profile that is called by the updateProfile editor command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void userProfile(LpexView lpexView)
public static String parser(LpexView lpexView)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |