de.cau.cs.kieler.synccharts.synchronizer
Class ModelSynchronizer

java.lang.Object
  extended by de.cau.cs.kieler.synccharts.synchronizer.ModelSynchronizer
All Implemented Interfaces:
IStartup

public class ModelSynchronizer
extends Object
implements IStartup

Rating red

Field Summary
static Boolean DEBUGDiff
           
static Boolean DEBUGMatch
           
static Boolean DEBUGPassive
           
static ModelSynchronizer INSTANCE
           
static String MSG_JOB_IS_RUNNING
           
static String MSG_LABEL_SERIALIZATION_FAILED
           
static String MSG_MATCH_FAILED
           
static String MSG_MERGING_FAILED
           
static String MSG_NO_ACTIVE_EDITOR
           
static String MSG_XTEXT_REFRESH_FAILED
           
static int RESOLVE_TRANSITION_TARGETS
           
 
Constructor Summary
ModelSynchronizer()
           
 
Method Summary
static void dumpDiff(EObject model, OutputStream stream)
           
static void dumpMatch(EObject model, OutputStream stream)
           
static void dumpPassive(EObject model, OutputStream stream)
           
 void earlyStartup()
           
static KitsView getKitsView()
           
static EContentAdapter getModelChangeListener()
           
 IWorkbenchPage getWorkbenchPage()
           
static void installRemoveKitsView(KitsView view)
           
 void setActive(boolean isActive)
           
 void triggerModelChangeListener(ResourceSetChangeEvent event)
          this method will be called from the ModelChangeTriggerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_MATCH_FAILED

public static String MSG_MATCH_FAILED

MSG_JOB_IS_RUNNING

public static String MSG_JOB_IS_RUNNING

MSG_NO_ACTIVE_EDITOR

public static String MSG_NO_ACTIVE_EDITOR

MSG_XTEXT_REFRESH_FAILED

public static String MSG_XTEXT_REFRESH_FAILED

MSG_LABEL_SERIALIZATION_FAILED

public static String MSG_LABEL_SERIALIZATION_FAILED

MSG_MERGING_FAILED

public static String MSG_MERGING_FAILED

RESOLVE_TRANSITION_TARGETS

public static int RESOLVE_TRANSITION_TARGETS

INSTANCE

public static ModelSynchronizer INSTANCE

DEBUGMatch

public static Boolean DEBUGMatch

DEBUGDiff

public static Boolean DEBUGDiff

DEBUGPassive

public static Boolean DEBUGPassive
Constructor Detail

ModelSynchronizer

public ModelSynchronizer()
Method Detail

setActive

public void setActive(boolean isActive)

getModelChangeListener

public static EContentAdapter getModelChangeListener()

triggerModelChangeListener

public void triggerModelChangeListener(ResourceSetChangeEvent event)
this method will be called from the ModelChangeTriggerListener

Parameters:
event -

earlyStartup

public void earlyStartup()
Specified by:
earlyStartup in interface IStartup

getWorkbenchPage

public IWorkbenchPage getWorkbenchPage()

installRemoveKitsView

public static void installRemoveKitsView(KitsView view)

getKitsView

public static KitsView getKitsView()

dumpMatch

public static void dumpMatch(EObject model,
                             OutputStream stream)

dumpDiff

public static void dumpDiff(EObject model,
                            OutputStream stream)

dumpPassive

public static void dumpPassive(EObject model,
                               OutputStream stream)