|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.StandardMBean
org.dawb.workbench.jmx.RemoteWorkbenchManager
public class RemoteWorkbenchManager
Service run by the workflow to allow the RCP workbench to interfact with the service.
Constructor Summary | |
---|---|
RemoteWorkbenchManager()
|
Method Summary | |
---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
|
java.util.Map<java.lang.String,java.lang.String> |
createUserInput(java.lang.String partName,
boolean isDialog,
java.lang.String configurationXML,
java.util.Map<java.lang.String,java.lang.String> scalarValues)
Call to ask the user to check and edit editScalarValues. |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
void |
logStatus(java.lang.String pluginId,
java.lang.String message,
java.lang.Throwable throwable)
|
boolean |
monitorDirectory(java.lang.String fullPath)
Call with full file path on visible disk. |
boolean |
openFile(java.lang.String fullPath)
Call with full file path on visible disk. |
boolean |
refresh(java.lang.String projectName,
java.lang.String resourcePath)
|
void |
removeNotificationListener(javax.management.NotificationListener listener)
|
boolean |
setActorSelected(java.lang.String resourcePath,
java.lang.String actorName,
boolean isSelected)
This method allows certain actors to be selected if the editor for the corresponding file is open. |
boolean |
showMessage(java.lang.String title,
java.lang.String message,
int type)
|
Methods inherited from class javax.management.StandardMBean |
---|
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteWorkbenchManager() throws javax.management.NotCompliantMBeanException, org.eclipse.core.runtime.CoreException
javax.management.NotCompliantMBeanException
org.eclipse.core.runtime.CoreException
Method Detail |
---|
public boolean openFile(java.lang.String fullPath)
public boolean monitorDirectory(java.lang.String fullPath)
public boolean refresh(java.lang.String projectName, java.lang.String resourcePath)
public boolean showMessage(java.lang.String title, java.lang.String message, int type)
public void logStatus(java.lang.String pluginId, java.lang.String message, java.lang.Throwable throwable)
public java.util.Map<java.lang.String,java.lang.String> createUserInput(java.lang.String partName, boolean isDialog, java.lang.String configurationXML, java.util.Map<java.lang.String,java.lang.String> scalarValues) throws java.lang.Exception
RemoteWorkbench
partName
- - part name input should appear withisDialog
- - if true modal dialog used, otherwise editor part used.scalarValues
- - can be null
(But both cannot be null!)
java.lang.Exception
public boolean setActorSelected(java.lang.String resourcePath, java.lang.String actorName, boolean isSelected) throws java.lang.Exception
RemoteWorkbench
java.lang.Exception
public void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
public void removeNotificationListener(javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
javax.management.ListenerNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |