Author: rob.stryker(a)jboss.com
Date: 2008-12-02 20:47:13 -0500 (Tue, 02 Dec 2008)
New Revision: 12234
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
Log:
JBIDE-3291 - jmx title
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
===================================================================
---
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java 2008-12-03
00:56:51 UTC (rev 12233)
+++
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java 2008-12-03
01:47:13 UTC (rev 12234)
@@ -12,6 +12,7 @@
public class Messages extends NLS {
public static String NewConnectionAction;
public static String NewConnectionWizard;
+ public static String DefaultConnectionWizardPage_Title;
public static String DefaultConnectionWizardPage_Description;
public static String DefaultConnectionWizardPage_Simple;
public static String DefaultConnectionWizardPage_Advanced;
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
===================================================================
---
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties 2008-12-03
00:56:51 UTC (rev 12233)
+++
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties 2008-12-03
01:47:13 UTC (rev 12234)
@@ -1,5 +1,6 @@
NewConnectionAction=New Connection...
NewConnectionWizard=New Connection Wizard
+DefaultConnectionWizardPage_Title=Create JMX Connection
DefaultConnectionWizardPage_Description=Create a new Default JMX Connection type by
filling out either the Simple or the Advanced tab.
DefaultConnectionWizardPage_Simple=Simple
DefaultConnectionWizardPage_Advanced=Advanced
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
===================================================================
---
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java 2008-12-03
00:56:51 UTC (rev 12233)
+++
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java 2008-12-03
01:47:13 UTC (rev 12234)
@@ -40,6 +40,7 @@
import org.jboss.tools.jmx.core.IConnectionProvider;
import org.jboss.tools.jmx.core.IConnectionWrapper;
import org.jboss.tools.jmx.ui.ConnectionWizardPage;
+import org.jboss.tools.jmx.ui.JMXUIActivator;
import org.jboss.tools.jmx.ui.Messages;
import org.jboss.tools.jmx.ui.UIExtensionManager;
import org.jboss.tools.jmx.ui.UIExtensionManager.ConnectionProviderUI;
@@ -56,6 +57,11 @@
private HashMap<String, ConnectionWizardPage[]> pageMap;
private IWizardPage firstPage;
+
+ public String getWindowTitle() {
+ return Messages.DefaultConnectionWizardPage_Title;
+ }
+
public void addPages() {
firstPage = createFirstPage();
addPage(firstPage);
@@ -99,7 +105,7 @@
try {
wrap = active[i].getConnection();
} catch( CoreException ce ) {
- // TODO LOG
+ JMXUIActivator.getDefault().getLog().log(ce.getStatus());
}
}
Show replies by date