diff --git a/cave/com.raytheon.uf.viz.d2d.ui/localization/styleRules/d2dContourStyleRules.xml b/cave/com.raytheon.uf.viz.d2d.ui/localization/styleRules/d2dContourStyleRules.xml index f21be9a728..235dace2f5 100644 --- a/cave/com.raytheon.uf.viz.d2d.ui/localization/styleRules/d2dContourStyleRules.xml +++ b/cave/com.raytheon.uf.viz.d2d.ui/localization/styleRules/d2dContourStyleRules.xml @@ -354,27 +354,6 @@ F | 1.8 |-459.67| 4 | | |..|8000F0FF| | 0 | 5 - - - - T - DpT - - 2 - 2 - - - - F - - -100 - 115 - - - 20 - - - diff --git a/cave/com.raytheon.uf.viz.localization.perspective.feature/feature.xml b/cave/com.raytheon.uf.viz.localization.perspective.feature/feature.xml index 10a9ad8912..83e7124ae6 100644 --- a/cave/com.raytheon.uf.viz.localization.perspective.feature/feature.xml +++ b/cave/com.raytheon.uf.viz.localization.perspective.feature/feature.xml @@ -361,4 +361,18 @@ install-size="0" version="0.0.0"/> + + + + diff --git a/cave/com.raytheon.uf.viz.personalities.cave/src/com/raytheon/uf/viz/personalities/cave/workbench/VizWorkbenchAdvisor.java b/cave/com.raytheon.uf.viz.personalities.cave/src/com/raytheon/uf/viz/personalities/cave/workbench/VizWorkbenchAdvisor.java index 22a39842b8..ceaa442e63 100644 --- a/cave/com.raytheon.uf.viz.personalities.cave/src/com/raytheon/uf/viz/personalities/cave/workbench/VizWorkbenchAdvisor.java +++ b/cave/com.raytheon.uf.viz.personalities.cave/src/com/raytheon/uf/viz/personalities/cave/workbench/VizWorkbenchAdvisor.java @@ -25,6 +25,7 @@ import java.util.Set; import org.eclipse.core.runtime.IExtension; import org.eclipse.jface.dialogs.MessageDialog; +import org.eclipse.jface.preference.IPreferenceNode; import org.eclipse.jface.preference.PreferenceManager; import org.eclipse.ui.IPerspectiveDescriptor; import org.eclipse.ui.IPerspectiveRegistry; @@ -46,10 +47,11 @@ import com.raytheon.viz.ui.perspectives.VizPerspectiveListener; * *
  * SOFTWARE HISTORY
- * Date       	Ticket#		Engineer	Description
- * ------------	----------	-----------	--------------------------
+ * Date         Ticket#     Engineer    Description
+ * ------------ ----------  ----------- --------------------------
  * 7/1/06                   chammack    Initial Creation.
- * Mar 5, 2013     1753     njensen    Added shutdown printout
+ * Mar 5, 2013  1753        njensen     Added shutdown printout
+ * May 28, 2013 1967        njensen     Remove unused subnode preferences
  * 
  * 
* @@ -166,6 +168,7 @@ public class VizWorkbenchAdvisor extends WorkbenchAdvisor { * Removes options from the rcp preferences menu */ private void removeExtraPreferences() { + // remove top level preference pages PreferenceManager preferenceManager = PlatformUI.getWorkbench() .getPreferenceManager(); preferenceManager.remove("org.eclipse.team.ui.TeamPreferences"); @@ -174,6 +177,26 @@ public class VizWorkbenchAdvisor extends WorkbenchAdvisor { preferenceManager.remove("org.eclipse.debug.ui.DebugPreferencePage"); preferenceManager .remove("org.eclipse.jdt.ui.preferences.JavaBasePreferencePage"); + preferenceManager.remove("ValidationPreferencePage"); + + // remove subnode preference pages + IPreferenceNode[] topNodes = preferenceManager.getRootSubNodes(); + for (IPreferenceNode root : topNodes) { + String rootId = root.getId(); + if (rootId.equals("org.eclipse.ui.preferencePages.Workbench")) { + root.remove("org.eclipse.search.preferences.SearchPreferencePage"); + root.remove("org.eclipse.ui.preferencePages.Workspace"); + } else if (rootId.equals("org.python.pydev.prefs")) { + root.remove("org.python.pydev.ui.pythonpathconf.interpreterPreferencesPageJython"); + root.remove("org.python.pydev.ui.pythonpathconf.interpreterPreferencesPageIronpython"); + root.remove("org.python.pydev.prefs.pylint"); + root.remove("org.python.pydev.prefs.pyunitPage"); + root.remove("org.python.pydev.jython.ui.JyScriptingPreferencesPage"); + } else if (rootId.equals("org.eclipse.wst.xml.ui.preferences.xml")) { + root.remove("org.eclipse.wst.xml.core.ui.XMLCatalogPreferencePage"); + } + } + } /*