Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2016-01-19 16:54:05 -0500
committerdonald.g.dunne2016-01-22 11:26:22 -0500
commitc9690b657c322c2db90d209bc567934b1d5cfcf7 (patch)
tree2cc08fd11fc8aa5cf99546cc9f84301da9cbec55
parent5ecefc3e7fcae20af7bf4a4250fa805c342f9833 (diff)
downloadorg.eclipse.osee-c9690b657c322c2db90d209bc567934b1d5cfcf7.tar.gz
org.eclipse.osee-c9690b657c322c2db90d209bc567934b1d5cfcf7.tar.xz
org.eclipse.osee-c9690b657c322c2db90d209bc567934b1d5cfcf7.zip
bug[ats_ATS262233]: Disable reveal in artifact explorer for relations
--also disabled open and open with menu options Change-Id: I1d7fb52f6183d3f24035d6e50bc2c2a45050d478 Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/RelationsComposite.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/RelationsComposite.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/RelationsComposite.java
index c7e52225281..6605e9d388f 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/RelationsComposite.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/RelationsComposite.java
@@ -293,7 +293,7 @@ public class RelationsComposite extends Composite implements ISelectedArtifact {
revealInArtifactExporerMenuItem = new MenuItem(parentMenu, SWT.CASCADE);
revealInArtifactExporerMenuItem.setText("&Reveal in Artifact Explorer");
revealInArtifactExporerMenuItem.setImage(ImageManager.getImage(FrameworkImage.MAGNIFY));
- needSelectedArtifactListener.addArtifactEnabled(revealInArtifactExporerMenuItem);
+ needSelectedArtifactListener.add(revealInArtifactExporerMenuItem);
final RelationsComposite fRelComp = this;
revealInArtifactExporerMenuItem.addSelectionListener(new SelectionAdapter() {
@@ -345,7 +345,7 @@ public class RelationsComposite extends Composite implements ISelectedArtifact {
private void createOpenMenuItem(Menu parentMenu) {
openMenuItem = new MenuItem(parentMenu, SWT.PUSH);
openMenuItem.setText("Open");
- needSelectedArtifactListener.addArtifactEnabled(openMenuItem);
+ needSelectedArtifactListener.add(openMenuItem);
openMenuItem.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
@@ -370,7 +370,7 @@ public class RelationsComposite extends Composite implements ISelectedArtifact {
private void createWordPreviewMenuItem(Menu parentMenu) {
wordPreviewItem = new MenuItem(parentMenu, SWT.PUSH);
wordPreviewItem.setText("Open Preview");
- needSelectedArtifactListener.addArtifactEnabled(wordPreviewItem);
+ needSelectedArtifactListener.add(wordPreviewItem);
wordPreviewItem.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {

Back to the top