|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mylar.monitor.AbstractUserInteractionMonitor
public abstract class AbstractUserInteractionMonitor
Self-registering on construction. Encapsulates users' interaction with the context model.
Field Summary | |
---|---|
protected java.lang.Object |
lastSelectedElement
|
Constructor Summary | |
---|---|
AbstractUserInteractionMonitor()
Requires workbench to be active. |
Method Summary | |
---|---|
void |
dispose()
|
org.eclipse.mylar.context.core.InteractionEvent.Kind |
getEventKind()
|
protected void |
handleElementEdit(org.eclipse.ui.IWorkbenchPart part,
java.lang.Object selectedElement,
boolean contributeToContext)
Intended to be called back by subclasses. |
protected org.eclipse.mylar.context.core.InteractionEvent |
handleElementSelection(org.eclipse.ui.IWorkbenchPart part,
java.lang.Object selectedElement,
boolean contributeToContext)
Intended to be called back by subclasses. |
protected void |
handleNavigation(org.eclipse.ui.IWorkbenchPart part,
java.lang.Object targetElement,
java.lang.String kind,
boolean contributeToContext)
Intended to be called back by subclasses. |
protected abstract void |
handleWorkbenchPartSelection(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection,
boolean contributeToContext)
|
void |
selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object lastSelectedElement
Constructor Detail |
---|
public AbstractUserInteractionMonitor()
Method Detail |
---|
public void dispose()
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.ISelectionListener
protected abstract void handleWorkbenchPartSelection(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection, boolean contributeToContext)
protected org.eclipse.mylar.context.core.InteractionEvent handleElementSelection(org.eclipse.ui.IWorkbenchPart part, java.lang.Object selectedElement, boolean contributeToContext)
protected void handleElementEdit(org.eclipse.ui.IWorkbenchPart part, java.lang.Object selectedElement, boolean contributeToContext)
protected void handleNavigation(org.eclipse.ui.IWorkbenchPart part, java.lang.Object targetElement, java.lang.String kind, boolean contributeToContext)
public org.eclipse.mylar.context.core.InteractionEvent.Kind getEventKind()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |