Author: vhalbert(a)redhat.com
Date: 2009-04-15 09:07:22 -0400 (Wed, 15 Apr 2009)
New Revision: 775
Modified:
branches/remove_psc/console/src/main/java/com/metamatrix/console/ui/layout/PanelsTreeModel.java
Log:
Teiid 323 - removing product related tree nodes
Modified:
branches/remove_psc/console/src/main/java/com/metamatrix/console/ui/layout/PanelsTreeModel.java
===================================================================
---
branches/remove_psc/console/src/main/java/com/metamatrix/console/ui/layout/PanelsTreeModel.java 2009-04-14
22:07:44 UTC (rev 774)
+++
branches/remove_psc/console/src/main/java/com/metamatrix/console/ui/layout/PanelsTreeModel.java 2009-04-15
13:07:22 UTC (rev 775)
@@ -50,7 +50,7 @@
public static final String SYS_LOG = "Log Viewer"; //$NON-NLS-1$
public static final Class SYSTEM_LOG_PANEL_CLASS =
com.metamatrix.console.ui.views.syslog.SysLogPanel.class;
- public static final String MM_SERVER =
MetaMatrixProductVersion.METAMATRIX_SERVER_TYPE_NAME;
+// public static final String MM_SERVER =
MetaMatrixProductVersion.METAMATRIX_SERVER_TYPE_NAME;
public static final String QUERIES = "Queries"; //$NON-NLS-1$
public static final Class QUERIES_PANEL_CLASS =
com.metamatrix.console.ui.views.queries.QueryPanel.class;
@@ -99,11 +99,10 @@
public static final Class SYSTEMLOGSETUP_PANEL_CLASS =
com.metamatrix.console.ui.views.logsetup.SystemLogSetUpPanel.class;
- public static final Object[] BLOCKED_ITEMS = new Object[] {RUNTIME,
- MM_SERVER, CONFIGURATION, AUTHORIZATION};
+ public static final Object[] BLOCKED_ITEMS = new Object[] {RUNTIME, CONFIGURATION,
AUTHORIZATION};
private static final String MM_SERV_TIP =
- "The " + MM_SERVER + " product provides integrated information
" + //$NON-NLS-1$ //$NON-NLS-2$
+ "The Data Services Platform product provides integrated information
" + //$NON-NLS-1$ //$NON-NLS-2$
"access to disparate data sources"; //$NON-NLS-1$
// private static final String MB_SERV_TIP =
// "The " + MB_SERVER + " product manages enterprise metadata";
//$NON-NLS-1$
@@ -206,19 +205,13 @@
log.setToolTipText(tipText);
runtime.add(log);
- // MetaMatrixServer header node
- PanelsTreeNode runtimeMMServer = new PanelsTreeNode(MM_SERVER, null,
- connection, false);
- runtimeMMServer.setToolTipText(MM_SERV_TIP);
- runtime.add(runtimeMMServer);
-
// queries panel node
PanelsTreeNode queries = new PanelsTreeNode(QUERIES,
QUERIES_PANEL_CLASS, connection, false);
tipText =
ConsolePlugin.Util.getString("PanelsTreeModel.queryPanel.tooltip");
//$NON-NLS-1$
queries.setToolTipText(tipText);
- runtimeMMServer.add(queries);
+ runtime.add(queries);
// transactions panel node
PanelsTreeNode transactions = new PanelsTreeNode(TRANSACTIONS,
@@ -226,7 +219,7 @@
transactions.setToolTipText(
"View and manage transactions that are currently being executed "
+ "in the MetaMatrix Server");
- runtimeMMServer.add(transactions);
+ runtime.add(transactions);
//
--------------------------------------------------------------------------------
// setup Configuration header node
@@ -274,32 +267,26 @@
systeLogSetup.setToolTipText(tipText);
configuration.add(systeLogSetup);
- // MetaMatrixServer header node
- PanelsTreeNode configMMServer = new PanelsTreeNode(MM_SERVER, null,
- connection, false);
- configMMServer.setToolTipText(MM_SERV_TIP);
- configuration.add(configMMServer);
-
// VDB panel node
PanelsTreeNode vdb = new PanelsTreeNode(VDB, VDB_PANEL_CLASS,
connection, false);
tipText =
ConsolePlugin.Util.getString("PanelsTreeModel.vdbPanel.tooltip"); //$NON-NLS-1$
vdb.setToolTipText(tipText);
- configMMServer.add(vdb);
+ configuration.add(vdb);
// connector bindings panel node
PanelsTreeNode bindings = new PanelsTreeNode(CONNECTOR_BINDINGS,
CONNECTOR_BINDINGS_PANEL_CLASS, connection, false);
tipText =
ConsolePlugin.Util.getString("PanelsTreeModel.bindingsPanel.tooltip");
//$NON-NLS-1$
bindings.setToolTipText(tipText);
- configMMServer.add(bindings);
+ configuration.add(bindings);
// connectors panel node
PanelsTreeNode connectors = new PanelsTreeNode(CONNECTORS,
CONNECTOR_DEFINITIONS_PANEL_CLASS, connection, false);
tipText =
ConsolePlugin.Util.getString("PanelsTreeModel.connectorsPanel.tooltip");
//$NON-NLS-1$
connectors.setToolTipText(tipText);
- configMMServer.add(connectors);
+ configuration.add(connectors);
//
--------------------------------------------------------------------------------
// Security Tree Node
Show replies by date