|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.wlx.WLXPluginAdapter
plugins.wlx.SWTWLXPlugin
public abstract class SWTWLXPlugin
| Field Summary | |
|---|---|
protected org.eclipse.swt.widgets.Display |
display
SWT display. |
protected static int |
PROC_PARAM_CNT
Parameter count of procedure windowProc. |
| Fields inherited from interface plugins.wlx.WLXPluginInterface |
|---|
LC_COPY, LC_NEWPARAMS, LC_SELECT_ALL, LC_SETPERCENT, LCP_ANSI, LCP_ASCII, LCP_CENTER, LCP_FITLARGERONLY, LCP_FITTOWINDOW, LCP_FORCESHOW, LCP_VARIABLE, LCP_WRAPTEXT, LCS_BACKWARDS, LCS_FINDFIRST, LCS_MATCHCASE, LCS_WHOLEWORDS, LISTPLUGIN_ERROR, LISTPLUGIN_OK |
| Constructor Summary | |
|---|---|
SWTWLXPlugin()
|
|
| Method Summary | |
|---|---|
abstract org.eclipse.swt.widgets.Shell |
createShell()
Create a new Shell. |
abstract void |
listCloseWindow()
ListCloseWindow is called when a user closes lister, or loads a different file. |
void |
listCloseWindow(int listWin)
ListCloseWindow is called when a user closes lister, or loads a different file. |
int |
listLoad(int parentWin,
java.lang.String input,
int showFlags)
ListLoad is called when a user opens lister with F3 or the Quick View Panel with Ctrl+Q, and when the definition string either doesn't exist, or its evaluation returns true. |
abstract void |
listLoad(org.eclipse.swt.widgets.Shell shell,
java.lang.String input,
int showFlags)
ListLoad is called when a user opens lister with F3 or the Quick View Panel with Ctrl+Q, and when the definition string either doesn't exist, or its evaluation returns true. |
| Methods inherited from class plugins.wlx.WLXPluginAdapter |
|---|
getHWND, getHWND2, listDefaultGetParams, listGetDetectString, listGetPreviewBitmap, listLoadNext, listNotificationReceived, listPrint, listSearchDialog, listSearchText, listSendCommand, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int PROC_PARAM_CNT
protected org.eclipse.swt.widgets.Display display
| Constructor Detail |
|---|
public SWTWLXPlugin()
| Method Detail |
|---|
public final int listLoad(int parentWin,
java.lang.String input,
int showFlags)
listLoad in interface WLXPluginInterfacelistLoad in class WLXPluginAdapterparentWin - This is lister's window. Create your plugin window as a child
of this window.input - The name of the file which has to be loaded.showFlags - A combination of the following flags:
public final void listCloseWindow(int listWin)
listCloseWindow in interface WLXPluginInterfacelistCloseWindow in class WLXPluginAdapterlistWin - This is the window handle which needs to be destroyed.public abstract org.eclipse.swt.widgets.Shell createShell()
e.g. return new Shell(display);
public abstract void listLoad(org.eclipse.swt.widgets.Shell shell,
java.lang.String input,
int showFlags)
shell - SWT shellinput - The name of the file which has to be loaded.showFlags - A combination of the following flags:
WLXPluginInterface.listLoad(int, String, int)public abstract void listCloseWindow()
WLXPluginInterface.listCloseWindow(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||