org.eclipse.etrice.ui.common.concurrency
Class ConcurrentModificationObserver

java.lang.Object
  extended by org.eclipse.etrice.ui.common.concurrency.ConcurrentModificationObserver
All Implemented Interfaces:
org.eclipse.ui.IPartListener

public class ConcurrentModificationObserver
extends java.lang.Object
implements org.eclipse.ui.IPartListener

Detects concurrent modifications of Graphiti (eTrice structure and behavior) and Xtext editors based on Xtext's dirty state management.

Author:
Jan Koehnlein, Henrik Rentz-Reichert

Nested Class Summary
static class ConcurrentModificationObserver.Initializer
           
 
Constructor Summary
ConcurrentModificationObserver(org.eclipse.ui.IWorkbenchPage activePage)
           
 
Method Summary
 void partActivated(org.eclipse.ui.IWorkbenchPart part)
           
 void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
           
 void partClosed(org.eclipse.ui.IWorkbenchPart part)
           
 void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
           
 void partOpened(org.eclipse.ui.IWorkbenchPart part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentModificationObserver

public ConcurrentModificationObserver(org.eclipse.ui.IWorkbenchPage activePage)
Method Detail

partOpened

public void partOpened(org.eclipse.ui.IWorkbenchPart part)
Specified by:
partOpened in interface org.eclipse.ui.IPartListener

partClosed

public void partClosed(org.eclipse.ui.IWorkbenchPart part)
Specified by:
partClosed in interface org.eclipse.ui.IPartListener

partActivated

public void partActivated(org.eclipse.ui.IWorkbenchPart part)
Specified by:
partActivated in interface org.eclipse.ui.IPartListener

partDeactivated

public void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
Specified by:
partDeactivated in interface org.eclipse.ui.IPartListener

partBroughtToTop

public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
Specified by:
partBroughtToTop in interface org.eclipse.ui.IPartListener