Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTracy Miranda2014-03-19 04:17:15 +0000
committerTracy Miranda2014-03-19 04:30:42 +0000
commitaf3c88cc2cd587af8a1fa1a0f9de7f5b8099a959 (patch)
tree53e9c47727c8c7d7fb7f481eed1eba4d0a8c260c
parent9188cf5ad435f1cb3506fd5deda57b820e74f57e (diff)
downloadeclipse.platform.ui.tools-af3c88cc2cd587af8a1fa1a0f9de7f5b8099a959.tar.gz
eclipse.platform.ui.tools-af3c88cc2cd587af8a1fa1a0f9de7f5b8099a959.tar.xz
eclipse.platform.ui.tools-af3c88cc2cd587af8a1fa1a0f9de7f5b8099a959.zip
Bug 430663 - Adding an addon doesn't automatically select in the tree
Change-Id: I74a91612b71db19b8945ea975ad91dd2ae367161 Signed-off-by: Tracy Miranda <tracymiranda@yahoo.com>
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VApplicationAddons.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VApplicationAddons.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VApplicationAddons.java
index dc6490be..28e69d22 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VApplicationAddons.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/virtual/VApplicationAddons.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010 BestSolution.at and others.
+ * Copyright (c) 2010, 2014 BestSolution.at and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation
+ * Tracy Miranda <tracymiranda@yahoo.com> - bugfix for 430663
******************************************************************************/
package org.eclipse.e4.tools.emf.ui.internal.common.component.virtual;
@@ -218,6 +219,7 @@ public class VApplicationAddons extends AbstractComponentEditor {
if (cmd.canExecute()) {
getEditingDomain().getCommandStack().execute(cmd);
+ getEditor().setSelection(addon);
}
}

Back to the top