From d5a2dd61569f06e2bc4813e300048f25e9843512 Mon Sep 17 00:00:00 2001 From: donald.g.dunne Date: Tue, 13 Sep 2016 09:24:28 -0700 Subject: refinement: Add Art Explorer action to toolbar Change-Id: Iaf29b6c2a001999f818a07f00b9ef6c7467e3f96 --- .../images/artifact_explorer.gif | Bin 0 -> 312 bytes plugins/org.eclipse.osee.ats/plugin.xml | 22 ++++++++++++++++ .../ats/actions/OpenArtifactExplorerHandler.java | 28 +++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 plugins/org.eclipse.osee.ats/images/artifact_explorer.gif create mode 100644 plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/OpenArtifactExplorerHandler.java (limited to 'plugins') diff --git a/plugins/org.eclipse.osee.ats/images/artifact_explorer.gif b/plugins/org.eclipse.osee.ats/images/artifact_explorer.gif new file mode 100644 index 00000000000..23b46a83e46 Binary files /dev/null and b/plugins/org.eclipse.osee.ats/images/artifact_explorer.gif differ diff --git a/plugins/org.eclipse.osee.ats/plugin.xml b/plugins/org.eclipse.osee.ats/plugin.xml index c096ed59ea4..d7dc6af76d0 100644 --- a/plugins/org.eclipse.osee.ats/plugin.xml +++ b/plugins/org.eclipse.osee.ats/plugin.xml @@ -227,6 +227,10 @@ id="org.eclipse.osee.framework.ui.skynet.atsworkdef.command" name="ATS Work Definition Editor"> + + @@ -320,6 +324,10 @@ commandId="org.eclipse.osee.ats.actions.OpenReviewPerspective" class="org.eclipse.osee.ats.actions.OpenReviewPerspectiveHandler"> + + @@ -343,6 +351,19 @@ + + + + + + + @@ -441,4 +462,5 @@ name="ATS"> + diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/OpenArtifactExplorerHandler.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/OpenArtifactExplorerHandler.java new file mode 100644 index 00000000000..6e509a50d73 --- /dev/null +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/actions/OpenArtifactExplorerHandler.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2016 Boeing. + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Boeing - initial API and implementation + *******************************************************************************/ +package org.eclipse.osee.ats.actions; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.osee.ats.core.util.AtsUtilCore; +import org.eclipse.osee.framework.ui.skynet.explorer.ArtifactExplorer; + +/** + * @author Donald G. Dunne + */ +public class OpenArtifactExplorerHandler extends AbstractHandler { + + @Override + public Object execute(ExecutionEvent event) { + ArtifactExplorer.exploreBranch(AtsUtilCore.getAtsBranch()); + return null; + } +} \ No newline at end of file -- cgit v1.2.3