|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractUIPlugin
ist.palcom.eclipse.browserplugin.PalcomBrowserPlugin
public class PalcomBrowserPlugin
The main plugin class to be used in the desktop.
| Field Summary | |
|---|---|
Image |
IMG_CUSTOMER_GREEN
|
Image |
IMG_CUSTOMER_RED
|
Image |
IMG_CUSTOMER_YELLOW
|
Image |
IMG_DEVICE_GREEN
|
Image |
IMG_DEVICE_RED
|
Image |
IMG_DEVICE_YELLOW
|
Image |
IMG_PROVIDER_GREEN
|
Image |
IMG_PROVIDER_RED
|
Image |
IMG_PROVIDER_YELLOW
|
Image |
IMG_SUBLIST_GREEN
|
Image |
IMG_SUBLIST_RED
|
Image |
IMG_SUBLIST_YELLOW
|
Image |
IMG_SVCBOTH_GREEN
|
Image |
IMG_SVCBOTH_RED
|
Image |
IMG_SVCBOTH_YELLOW
|
static int |
YNC_CANCEL
|
static int |
YNC_NO
|
static int |
YNC_YES
|
| Constructor Summary | |
|---|---|
PalcomBrowserPlugin()
The constructor. |
|
| Method Summary | |
|---|---|
void |
addCommand(ASTNode c)
enqueue a command to be displayed in a new view |
void |
addOutCommandView(OutCommandView v)
|
void |
addService(ASTNode c)
enqueue a service to be displayed in a new view |
void |
addServiceDescriptionView(ServiceDescriptionView view)
|
static CommandInfo |
browseCommandInfoFromEHC(EventHandlerClause ehc)
Use browser to find CommandInfo matching an EventHandlerClause |
boolean |
confirmEditing(java.lang.String title,
java.lang.String message)
If confirmEditing is true, show an OK/Cancel dialog |
void |
debug(java.lang.String s)
A simple debug/dump facility |
void |
debugCommandListenerThread(Command c)
|
static CommandInfo |
doGetCommandInfoFromEHC(EventHandlerClause ehc)
|
void |
doRefresh()
refresh all secondary views |
static ControlService |
findControlService(AbstractResourceAddress sa)
|
java.lang.String |
getAssemblyInfoFromManager(int idx)
|
DeviceID |
getBrowserDeviceID()
|
boolean |
getCheckSemantics()
|
static PalcomBrowserPlugin |
getDefault()
Returns the shared instance. |
PalcomDeviceTree |
getDeviceTree()
|
DeviceTreeContentProvider |
getDeviceTreeContentProvider()
|
static ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
ASTNode |
getNextCommand()
|
ASTNode |
getNextService()
|
java.io.File |
getRootPath()
|
boolean |
okDialog(java.lang.String title,
java.lang.String message)
|
void |
putAssemblyUpdateEvent(AssemblyEditor editor,
IFile resource)
|
void |
removeOutCommandView(OutCommandView v)
|
void |
removeServiceDescriptionView(ServiceDescriptionView view)
|
void |
safePutCommandEvent(CommandEvent cEvent)
|
void |
setBrowserView(BrowserView v)
|
void |
setCheckSemantics(boolean b)
|
void |
setConfirmEditing(boolean b)
|
void |
setDebug(boolean b)
|
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
startAssemblyOnBrowser(PRDAssemblyVer a)
|
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
static boolean |
updateCommandInfoForEHC(EventHandlerClause ehc)
Update commandInfo of ehc from browser |
int |
yesNoCancelDialog(java.lang.String title,
java.lang.String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Image IMG_SVCBOTH_GREEN
public final Image IMG_SVCBOTH_YELLOW
public final Image IMG_SVCBOTH_RED
public final Image IMG_PROVIDER_GREEN
public final Image IMG_PROVIDER_YELLOW
public final Image IMG_PROVIDER_RED
public final Image IMG_CUSTOMER_GREEN
public final Image IMG_CUSTOMER_YELLOW
public final Image IMG_CUSTOMER_RED
public final Image IMG_DEVICE_GREEN
public final Image IMG_DEVICE_YELLOW
public final Image IMG_DEVICE_RED
public final Image IMG_SUBLIST_GREEN
public final Image IMG_SUBLIST_YELLOW
public final Image IMG_SUBLIST_RED
public static final int YNC_YES
public static final int YNC_NO
public static final int YNC_CANCEL
| Constructor Detail |
|---|
public PalcomBrowserPlugin()
| Method Detail |
|---|
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic static PalcomBrowserPlugin getDefault()
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path - the path
public java.io.File getRootPath()
public void addCommand(ASTNode c)
public ASTNode getNextCommand()
public void addService(ASTNode c)
public ASTNode getNextService()
public void doRefresh()
public void addOutCommandView(OutCommandView v)
public void removeOutCommandView(OutCommandView v)
public void addServiceDescriptionView(ServiceDescriptionView view)
public void removeServiceDescriptionView(ServiceDescriptionView view)
public void setBrowserView(BrowserView v)
public PalcomDeviceTree getDeviceTree()
public DeviceTreeContentProvider getDeviceTreeContentProvider()
public java.lang.String getAssemblyInfoFromManager(int idx)
public DeviceID getBrowserDeviceID()
public void safePutCommandEvent(CommandEvent cEvent)
public void putAssemblyUpdateEvent(AssemblyEditor editor,
IFile resource)
public static CommandInfo browseCommandInfoFromEHC(EventHandlerClause ehc)
ehc -
public static boolean updateCommandInfoForEHC(EventHandlerClause ehc)
ehc -
public static CommandInfo doGetCommandInfoFromEHC(EventHandlerClause ehc)
public static ControlService findControlService(AbstractResourceAddress sa)
public void debug(java.lang.String s)
debug in interface DebugListenerpublic void setDebug(boolean b)
public void setCheckSemantics(boolean b)
public boolean getCheckSemantics()
public void setConfirmEditing(boolean b)
public boolean confirmEditing(java.lang.String title,
java.lang.String message)
title - message -
public boolean okDialog(java.lang.String title,
java.lang.String message)
public int yesNoCancelDialog(java.lang.String title,
java.lang.String message)
public void startAssemblyOnBrowser(PRDAssemblyVer a)
public void debugCommandListenerThread(Command c)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||