Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M Finkbeiner2012-12-15 18:55:33 +0000
committerAndrew M Finkbeiner2012-12-17 17:01:07 +0000
commit3e6ea9a2750952f3a512e325603817c5ef58bf0e (patch)
tree66196f6b56a44ff23502f0db6090caa9ea4df0a6 /plugins/org.eclipse.osee.ote.ui
parentff632cf38d1bd61e0d66d3d9defdcb8c68f402ee (diff)
downloadorg.eclipse.osee-3e6ea9a2750952f3a512e325603817c5ef58bf0e.tar.gz
org.eclipse.osee-3e6ea9a2750952f3a512e325603817c5ef58bf0e.tar.xz
org.eclipse.osee-3e6ea9a2750952f3a512e325603817c5ef58bf0e.zip
feature[ats_BQVHK]: Update bundle loading
to close views across perspectives and re-show managed views on dynamic bundle loading Change-Id: I903999f6437a4597e0b6751cd45593f17715a558
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui')
-rw-r--r--plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/navigate/OteNavigateView.java27
1 files changed, 23 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/navigate/OteNavigateView.java b/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/navigate/OteNavigateView.java
index 5bd8ff8c63..6670d21eae 100644
--- a/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/navigate/OteNavigateView.java
+++ b/plugins/org.eclipse.osee.ote.ui/src/org/eclipse/osee/ote/ui/navigate/OteNavigateView.java
@@ -10,12 +10,15 @@
*******************************************************************************/
package org.eclipse.osee.ote.ui.navigate;
+import java.util.logging.Level;
+
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.IRegistryEventListener;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.action.Action;
+import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.ui.plugin.PluginUiImage;
import org.eclipse.osee.framework.ui.plugin.util.HelpUtil;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateComposite;
@@ -65,22 +68,38 @@ public class OteNavigateView extends ViewPart {
extensionRegistry.addListener(new IRegistryEventListener() {
@Override
public void added(IExtension[] extensions) {
- refresh();
+ try{
+ refresh();
+ } catch (Exception ex){
+ OseeLog.log(getClass(), Level.SEVERE, ex);
+ }
}
@Override
public void added(IExtensionPoint[] extensionPoints) {
- refresh();
+ try{
+ refresh();
+ } catch (Exception ex){
+ OseeLog.log(getClass(), Level.SEVERE, ex);
+ }
}
@Override
public void removed(IExtension[] extensions) {
- refresh();
+ try{
+ refresh();
+ } catch (Exception ex){
+ OseeLog.log(getClass(), Level.SEVERE, ex);
+ }
}
@Override
public void removed(IExtensionPoint[] extensionPoints) {
- refresh();
+ try{
+ refresh();
+ } catch (Exception ex){
+ OseeLog.log(getClass(), Level.SEVERE, ex);
+ }
}
}, "org.eclipse.osee.framework.ui.plugin.XNavigateItem");
}

Back to the top