org.eclipse.mylar.internal.resources.ui
Class ContextEditorManager

java.lang.Object
  extended by org.eclipse.mylar.internal.resources.ui.ContextEditorManager
All Implemented Interfaces:
org.eclipse.mylar.context.core.IMylarContextListener

public class ContextEditorManager
extends java.lang.Object
implements org.eclipse.mylar.context.core.IMylarContextListener

Author:
Mik Kersten

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.mylar.context.core.IMylarContextListener
org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind
 
Field Summary
private  boolean previousCloseEditorsSetting
           
 
Constructor Summary
ContextEditorManager()
           
 
Method Summary
 void closeAllEditors()
           
 void contextActivated(org.eclipse.mylar.context.core.IMylarContext context)
           
 void contextDeactivated(org.eclipse.mylar.context.core.IMylarContext context)
           
 void edgesChanged(org.eclipse.mylar.context.core.IMylarElement node)
           
 void interestChanged(java.util.List<org.eclipse.mylar.context.core.IMylarElement> elements)
           
private  boolean isActiveTaskEditor(org.eclipse.ui.IEditorReference editorReference)
           
 void landmarkAdded(org.eclipse.mylar.context.core.IMylarElement node)
           
 void landmarkRemoved(org.eclipse.mylar.context.core.IMylarElement node)
           
 void nodeDeleted(org.eclipse.mylar.context.core.IMylarElement node)
           
 void presentationSettingsChanged(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
           
 void presentationSettingsChanging(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previousCloseEditorsSetting

private boolean previousCloseEditorsSetting
Constructor Detail

ContextEditorManager

public ContextEditorManager()
Method Detail

contextActivated

public void contextActivated(org.eclipse.mylar.context.core.IMylarContext context)
Specified by:
contextActivated in interface org.eclipse.mylar.context.core.IMylarContextListener

contextDeactivated

public void contextDeactivated(org.eclipse.mylar.context.core.IMylarContext context)
Specified by:
contextDeactivated in interface org.eclipse.mylar.context.core.IMylarContextListener

closeAllEditors

public void closeAllEditors()

isActiveTaskEditor

private boolean isActiveTaskEditor(org.eclipse.ui.IEditorReference editorReference)

presentationSettingsChanging

public void presentationSettingsChanging(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
Specified by:
presentationSettingsChanging in interface org.eclipse.mylar.context.core.IMylarContextListener

presentationSettingsChanged

public void presentationSettingsChanged(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
Specified by:
presentationSettingsChanged in interface org.eclipse.mylar.context.core.IMylarContextListener

interestChanged

public void interestChanged(java.util.List<org.eclipse.mylar.context.core.IMylarElement> elements)
Specified by:
interestChanged in interface org.eclipse.mylar.context.core.IMylarContextListener

nodeDeleted

public void nodeDeleted(org.eclipse.mylar.context.core.IMylarElement node)
Specified by:
nodeDeleted in interface org.eclipse.mylar.context.core.IMylarContextListener

landmarkAdded

public void landmarkAdded(org.eclipse.mylar.context.core.IMylarElement node)
Specified by:
landmarkAdded in interface org.eclipse.mylar.context.core.IMylarContextListener

landmarkRemoved

public void landmarkRemoved(org.eclipse.mylar.context.core.IMylarElement node)
Specified by:
landmarkRemoved in interface org.eclipse.mylar.context.core.IMylarContextListener

edgesChanged

public void edgesChanged(org.eclipse.mylar.context.core.IMylarElement node)
Specified by:
edgesChanged in interface org.eclipse.mylar.context.core.IMylarContextListener