|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRemotePageService

Remote API Wrapper for the org.eclipse.ui.IPageService (Online documentation)
Original documentation:
A page service tracks the page and perspective lifecycle events within a workbench window.
| Field Summary | |
|---|---|
static int |
ALLEVENTS
|
static int |
PERSPECTIVEACTIVATED
Bit flag to get notified when a perspective was activated |
static int |
PERSPECTIVECHANGED
Bit flag to get notified when a perspective has changed in some way (e.g. editor area hidden, perspective reset, view show/hide, editor open/close, ...). |
| Method Summary | |
|---|---|
void |
addPerspectiveListenerSSJSLib(int eventMask,
java.lang.String uniqueId,
java.lang.String server,
java.lang.String dbPath,
java.lang.String ssjsLibName,
java.lang.String methodName,
java.lang.Object data)
Use this method to get notified of perspective events in the system, e.g. that a perspective has been activated or changed. |
void |
removePerspectiveListenerSSJSLib(java.lang.String uniqueId)
Use this method to unregister a preregistered listener |
| Field Detail |
|---|
static final int PERSPECTIVEACTIVATED
static final int PERSPECTIVECHANGED
static final int ALLEVENTS
| Method Detail |
|---|
void addPerspectiveListenerSSJSLib(int eventMask,
java.lang.String uniqueId,
java.lang.String server,
java.lang.String dbPath,
java.lang.String ssjsLibName,
java.lang.String methodName,
java.lang.Object data)
throws RemoteEclipseAPIException
methodName(uniqueId:String, eventBit:int, page:IRemoteWorkbenchPage, perspectiveDesc:IRemotePerspectiveDescriptor, changeId:String, data:String);changeId is null for perspectiveActivated event)uniqueId.session - the current sessiondatabase - the database of the SSJS library design elementeclipseconnection - a handle for a remote API connection
eventMask - bitmask of events that are relevant for this listener, -1 means all eventsuniqueId - unique id to be used when calling removePerspectiveListenerSSJSLib(String), existing listeners with this ID will be overwrittenserver - server of SSJS databasedbPath - filepath of SSJS databasessjsLibName - SSJS library namemethodName - method name in JavaScriptdata - any value that will be passed to the JS function as last method argument
RemoteEclipseAPIExceptionPERSPECTIVEACTIVATED,
PERSPECTIVECHANGEDvoid removePerspectiveListenerSSJSLib(java.lang.String uniqueId)
uniqueId - unique id that was used when calling {@link #addPerspectiveListenerSSJSLib(int, String, String, String, String, String, Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||