public class MonitorClassFactory2 extends SyncElementFactory {
private static final Key KEY_VARIABLE_LISTENER = new KeyOf(MonitorListener.class,
- "MONITOR_VARIABLE_LISTENER");
+ "MONITOR_VARIABLE_LISTENER"); //$NON-NLS-1$
- private static final String CLASS_ID = "Monitor";
+ private static final String CLASS_ID = "Monitor"; //$NON-NLS-1$
private static final IHintSynchronizer HINT_SYNCHRONIZER = new CompositeHintSynchronizer(
MonitorSynchronizer.INSTANCE,
loadParentRelationships(graph, element, e);
final Map<String, String> substitutions = new HashMap<String, String>();
- substitutions.put("#v1", "");
+ substitutions.put("#v1", ""); //$NON-NLS-1$ //$NON-NLS-2$
final Resource diagramRuntime = diagram.getHint(DiagramModelHints.KEY_DIAGRAM_RUNTIME_RESOURCE);
if (diagramRuntime != null) {
}
if(monitorVariable != null)
- graph.asyncRequest(new MonitorVariableValueRequest(diagramRuntime, element), monitorListener);
+ graph.syncRequest(new MonitorVariableValueRequest(diagramRuntime, element), monitorListener);
}
}