Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTracy Miranda2014-03-19 00:17:15 -0400
committerTracy Miranda2014-03-19 00:30:42 -0400
commitc6f9a8fe5714b4a76b30a9581225490bc5a165f9 (patch)
tree2937f290caac038894cb53685067749fbe1ed9e2
parent279e6c716749bcfd6c53973a39337d977070ca8a (diff)
downloadorg.eclipse.e4.tools-c6f9a8fe5714b4a76b30a9581225490bc5a165f9.tar.gz
org.eclipse.e4.tools-c6f9a8fe5714b4a76b30a9581225490bc5a165f9.tar.xz
org.eclipse.e4.tools-c6f9a8fe5714b4a76b30a9581225490bc5a165f9.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