Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2011-06-07 01:18:20 -0400
committerHenrik Rentz-Reichert2011-06-07 01:18:20 -0400
commit46441b96f32a89fd2a7e0eb5c29ac9d76fa62db9 (patch)
tree37711b09ba8a707192a1bf43420b0dc803c54dc0 /plugins/org.eclipse.etrice.ui.structure
parent48880742d36a4bd6a986ce33c862c7a7dd358ea9 (diff)
downloadorg.eclipse.etrice-46441b96f32a89fd2a7e0eb5c29ac9d76fa62db9.tar.gz
org.eclipse.etrice-46441b96f32a89fd2a7e0eb5c29ac9d76fa62db9.tar.xz
org.eclipse.etrice-46441b96f32a89fd2a7e0eb5c29ac9d76fa62db9.zip
[ui.structure] disable auto update while not working correctly
Diffstat (limited to 'plugins/org.eclipse.etrice.ui.structure')
-rw-r--r--plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/DiagramTypeProvider.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/DiagramTypeProvider.java b/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/DiagramTypeProvider.java
index 3c3f3d5a2..79db96f25 100644
--- a/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/DiagramTypeProvider.java
+++ b/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/DiagramTypeProvider.java
@@ -24,15 +24,17 @@ import org.eclipse.xtext.scoping.IScopeProvider;
import com.google.inject.Inject;
import com.google.inject.Injector;
+@SuppressWarnings("restriction")
public class DiagramTypeProvider extends AbstractDiagramTypeProvider {
+ private static final boolean AUTO_UPDATE = false;
+
private IToolBehaviorProvider[] toolBehaviorProviders;
private ProviderDispatcher dispatcher;
@Inject
private IScopeProvider scopeProvider;
- @SuppressWarnings("restriction")
public DiagramTypeProvider() {
super();
@@ -62,7 +64,7 @@ public class DiagramTypeProvider extends AbstractDiagramTypeProvider {
*/
@Override
public boolean isAutoUpdateAtStartup() {
- return true;
+ return AUTO_UPDATE;
}
/* (non-Javadoc)
@@ -70,7 +72,7 @@ public class DiagramTypeProvider extends AbstractDiagramTypeProvider {
*/
@Override
public boolean isAutoUpdateAtReset() {
- return true;
+ return AUTO_UPDATE;
}
/* (non-Javadoc)
@@ -78,7 +80,7 @@ public class DiagramTypeProvider extends AbstractDiagramTypeProvider {
*/
@Override
public boolean isAutoUpdateAtRuntime() {
- return true;
+ return AUTO_UPDATE;
}
public IScopeProvider getScopeProvider() {

Back to the top