public final class IdeStateListener extends IdeListener implements LaunchListener, PerspectiveListener
IdeStateChangeEventRequest
and passes them to the
IdeUacaProxy
to be transferred into the User Activity Central
Application for further processing.
State changes are logged when an application launches from Eclipse, or Eclipse perspective changes.
Data available in an IdeStateChangeEventRequest
:
stateTypeUri
- in case of an application run or debug start
the state type consists of the launch mode concatenated to a string
" (launch)"
, for example "run (launch)"
or
"debug (launch)"
. In case of a perspective change it
consists of the perspective name in lowercase concatenated to string
" (perspective)"
, for example java (perspective)
or
debug (perspective)
.
IdeListener
for documentation of inherited data.
Constructor and Description |
---|
IdeStateListener() |
Modifier and Type | Method and Description |
---|---|
void |
launchAdded(org.eclipse.debug.core.ILaunch launch) |
void |
launchChanged(org.eclipse.debug.core.ILaunch launch) |
void |
launchRemoved(org.eclipse.debug.core.ILaunch launch) |
void |
perspectiveActivated(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor) |
void |
perspectiveChanged(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor,
org.eclipse.ui.IWorkbenchPartReference reference,
java.lang.String change) |
void |
perspectiveChanged(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor,
java.lang.String change) |
void |
perspectiveClosed(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor) |
void |
perspectiveDeactivated(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor) |
void |
perspectiveOpened(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor) |
void |
perspectivePreDeactivate(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor descriptor) |
void |
perspectiveSavedAs(org.eclipse.ui.IWorkbenchPage page,
org.eclipse.ui.IPerspectiveDescriptor before,
org.eclipse.ui.IPerspectiveDescriptor after) |
postUnregister, preRegister
postRegister, preUnregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postRegister, postUnregister, preRegister, preUnregister
public void launchAdded(org.eclipse.debug.core.ILaunch launch)
launchAdded
in interface org.eclipse.debug.core.ILaunchListener
public void launchRemoved(org.eclipse.debug.core.ILaunch launch)
launchRemoved
in interface org.eclipse.debug.core.ILaunchListener
public void launchChanged(org.eclipse.debug.core.ILaunch launch)
launchChanged
in interface org.eclipse.debug.core.ILaunchListener
public void perspectiveOpened(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor)
perspectiveOpened
in interface org.eclipse.ui.IPerspectiveListener3
public void perspectiveClosed(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor)
perspectiveClosed
in interface org.eclipse.ui.IPerspectiveListener3
public void perspectiveActivated(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor)
perspectiveActivated
in interface org.eclipse.ui.IPerspectiveListener
public void perspectiveDeactivated(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor)
perspectiveDeactivated
in interface org.eclipse.ui.IPerspectiveListener3
public void perspectivePreDeactivate(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor)
perspectivePreDeactivate
in interface org.eclipse.ui.IPerspectiveListener4
public void perspectiveChanged(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor, java.lang.String change)
perspectiveChanged
in interface org.eclipse.ui.IPerspectiveListener
public void perspectiveChanged(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor descriptor, org.eclipse.ui.IWorkbenchPartReference reference, java.lang.String change)
perspectiveChanged
in interface org.eclipse.ui.IPerspectiveListener2
public void perspectiveSavedAs(org.eclipse.ui.IWorkbenchPage page, org.eclipse.ui.IPerspectiveDescriptor before, org.eclipse.ui.IPerspectiveDescriptor after)
perspectiveSavedAs
in interface org.eclipse.ui.IPerspectiveListener3