Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban Dugueperoux2015-05-26 07:16:40 +0000
committerEsteban DUGUEPEROUX2015-06-11 13:17:55 +0000
commitfeeeabae9ce8401c4c4575805d4427faec5ef97b (patch)
treeae2325a7aec6ec684e933337e9b385e0482c41d0
parente43e59793d845d47ad0bc8015fabf13202b1d618 (diff)
downloadorg.eclipse.sirius-feeeabae9ce8401c4c4575805d4427faec5ef97b.tar.gz
org.eclipse.sirius-feeeabae9ce8401c4c4575805d4427faec5ef97b.tar.xz
org.eclipse.sirius-feeeabae9ce8401c4c4575805d4427faec5ef97b.zip
[468042] NPE at Eclipse shutdown
- NPE at Eclipse shutdown with Modeling Perspective - Fix consists to remove useless UIJob in DiagramUIPlugin$Implementation.start() Bug: 468042 Change-Id: Ia46d37ddc7ccea1471c22dc71159c0f5689b815f Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java b/plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java
index 6ca4139a40..6b08d8b745 100644
--- a/plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java
+++ b/plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java
@@ -18,12 +18,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-import org.eclipse.core.commands.Command;
import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.notify.AdapterFactory;
@@ -58,10 +54,7 @@ import org.eclipse.sirius.viewpoint.description.validation.provider.ValidationIt
import org.eclipse.sirius.viewpoint.provider.SiriusEditPlugin;
import org.eclipse.sirius.viewpoint.provider.ViewpointItemProviderAdapterFactory;
import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.commands.ICommandService;
import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.ui.progress.UIJob;
import org.osgi.framework.BundleContext;
/**
@@ -183,18 +176,6 @@ public final class DiagramUIPlugin extends EMFPlugin {
layoutDataManagerRegistryListener = new LayoutDataManagerRegistryListener();
layoutDataManagerRegistryListener.init();
-
- UIJob job = new UIJob("InitSynchronizedCommand") {
- @Override
- public IStatus runInUIThread(IProgressMonitor monitor) {
- ICommandService commandService = (ICommandService) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getService(ICommandService.class);
- Command command = commandService.getCommand("org.eclipse.sirius.diagram.ui.command.synchronizedDiagram");
- command.isEnabled();
- return new Status(IStatus.OK, DiagramUIPlugin.ID, "Init synchronized command performed succesfully");
- }
-
- };
- job.schedule();
}
/**

Back to the top