Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2011-09-06 20:07:06 -0400
committerRyan D. Brooks2011-09-06 20:07:06 -0400
commitf937c017929e425b1cf9532e83c1cfb52c881bdf (patch)
tree05ec96d6a270abe13b7568b1c8d2c70c1a2870e8 /plugins/org.eclipse.osee.ote.ui.message
parent1dcc430a78f5065c8b4a0cb4b63c7124f0b2e056 (diff)
downloadorg.eclipse.osee-f937c017929e425b1cf9532e83c1cfb52c881bdf.tar.gz
org.eclipse.osee-f937c017929e425b1cf9532e83c1cfb52c881bdf.tar.xz
org.eclipse.osee-f937c017929e425b1cf9532e83c1cfb52c881bdf.zip
refactor: Remove IActionable0.9.9.v201109070002_SR1
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.message')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/view/MessageView.java8
-rw-r--r--plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/WatchView.java17
2 files changed, 5 insertions, 20 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/view/MessageView.java b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/view/MessageView.java
index c336c32c92..e7a30fec96 100644
--- a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/view/MessageView.java
+++ b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/view/MessageView.java
@@ -32,7 +32,6 @@ import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.osee.framework.logging.OseeLog;
-import org.eclipse.osee.framework.plugin.core.IActionable;
import org.eclipse.osee.framework.ui.plugin.util.HelpUtil;
import org.eclipse.osee.framework.ui.swt.Displays;
import org.eclipse.osee.framework.ui.swt.ImageManager;
@@ -79,7 +78,7 @@ import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.part.ViewPart;
-public class MessageView extends ViewPart implements IActionable, IMessageDictionaryListener {
+public class MessageView extends ViewPart implements IMessageDictionaryListener {
protected TreeViewer treeViewer;
protected Text searchText;
protected MessageViewLabelProvider labelProvider;
@@ -519,11 +518,6 @@ public class MessageView extends ViewPart implements IActionable, IMessageDictio
}
@Override
- public String getActionDescription() {
- return "";
- }
-
- @Override
public void onDictionaryLoaded(final IMessageDictionary dictionary) {
Displays.pendInDisplayThread(new Runnable() {
@Override
diff --git a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/WatchView.java b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/WatchView.java
index 130216924a..4395ddae27 100644
--- a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/WatchView.java
+++ b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/WatchView.java
@@ -52,7 +52,6 @@ import org.eclipse.osee.framework.core.exception.OseeArgumentException;
import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.jdk.core.util.benchmark.Benchmark;
import org.eclipse.osee.framework.logging.OseeLog;
-import org.eclipse.osee.framework.plugin.core.IActionable;
import org.eclipse.osee.framework.plugin.core.util.Jobs;
import org.eclipse.osee.framework.plugin.core.util.OseeData;
import org.eclipse.osee.framework.ui.plugin.util.HelpUtil;
@@ -125,7 +124,7 @@ import org.osgi.framework.Bundle;
*
* @author Ken J. Aguilar
*/
-public final class WatchView extends ViewPart implements IActionable, IMessageDictionaryListener, ITestConnectionListener, IOteMessageClientView {
+public final class WatchView extends ViewPart implements IMessageDictionaryListener, ITestConnectionListener, IOteMessageClientView {
private MessageXViewer treeViewer;
private final ClientMessageServiceTracker msgServiceTracker;
@@ -684,12 +683,9 @@ public final class WatchView extends ViewPart implements IActionable, IMessageDi
}
try {
if (Benchmark.isBenchmarkingEnabled()) {
- OseeLog.logf(
- Activator.class,
- Level.INFO,
- "%s: # samples=%d, max=%d, min=%d, avg=%d", benchMark.getName(),
- benchMark.getTotalSamples(), benchMark.getLongestSample(), benchMark.getShortestSample(),
- benchMark.getAverage());
+ OseeLog.logf(Activator.class, Level.INFO, "%s: # samples=%d, max=%d, min=%d, avg=%d", benchMark.getName(),
+ benchMark.getTotalSamples(), benchMark.getLongestSample(), benchMark.getShortestSample(),
+ benchMark.getAverage());
}
} catch (Throwable t) {
OseeLog.log(Activator.class, Level.WARNING, "Exception during disconnect", t);
@@ -915,11 +911,6 @@ public final class WatchView extends ViewPart implements IActionable, IMessageDi
return treeViewer;
}
- @Override
- public String getActionDescription() {
- return "";
- }
-
public void updateMenuActions(final IMenuManager mm) {
final IStructuredSelection selection = (IStructuredSelection) treeViewer.getSelection();

Back to the top