JBoss Tools SVN: r13412 - trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-02 03:10:03 -0500 (Mon, 02 Feb 2009)
New Revision: 13412
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/DisconnectJob.java
Log:
JBIDE-3710 - silly error in disconnect job
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/DisconnectJob.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/DisconnectJob.java 2009-02-02 08:01:52 UTC (rev 13411)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/DisconnectJob.java 2009-02-02 08:10:03 UTC (rev 13412)
@@ -26,7 +26,8 @@
protected IStatus run(IProgressMonitor monitor) {
try {
for( int i = 0; i < connection.length; i++ )
- connection[i].disconnect();
+ if( connection[i].isConnected() )
+ connection[i].disconnect();
return Status.OK_STATUS;
} catch( IOException ioe ) {
return new Status(IStatus.ERROR, JMXActivator.PLUGIN_ID, JMXCoreMessages.DisconnectJobFailed, ioe);
15 years, 11 months
JBoss Tools SVN: r13411 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-02 03:01:52 -0500 (Mon, 02 Feb 2009)
New Revision: 13411
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersDropAdapter.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersViewDropAdapterAssistant.java
Log:
Changing some tiny detail to comply with discussion on eclipse bug 261865
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersDropAdapter.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersDropAdapter.java 2009-02-02 03:06:11 UTC (rev 13410)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersDropAdapter.java 2009-02-02 08:01:52 UTC (rev 13411)
@@ -156,14 +156,12 @@
if (valid != null && valid.isOK()) {
assistants[i].handleDrop(null, event,
getCurrentTarget());
- event.detail = DND.DROP_NONE;
return;
}
} catch (Throwable t) {
NavigatorPlugin.logError(0, t.getMessage(), t);
}
}
- event.detail = DND.DROP_NONE;
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersViewDropAdapterAssistant.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersViewDropAdapterAssistant.java 2009-02-02 03:06:11 UTC (rev 13410)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServersViewDropAdapterAssistant.java 2009-02-02 08:01:52 UTC (rev 13411)
@@ -24,6 +24,7 @@
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DropTargetEvent;
import org.eclipse.swt.dnd.FileTransfer;
import org.eclipse.swt.dnd.TransferData;
@@ -110,7 +111,10 @@
public IStatus handleDrop(CommonDropAdapter dropAdapter,
DropTargetEvent dropTargetEvent, Object target) {
- return internalHandleDrop(target, fElements);
+ IStatus ret = internalHandleDrop(target, fElements);
+ if( ret.isOK())
+ dropTargetEvent.detail = DND.DROP_NONE;
+ return ret;
}
public IStatus handlePluginTransferDrop(
15 years, 11 months
JBoss Tools SVN: r13410 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-01 22:06:11 -0500 (Sun, 01 Feb 2009)
New Revision: 13410
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties
Log:
removed unused strings
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties 2009-01-31 15:55:42 UTC (rev 13409)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.properties 2009-02-02 03:06:11 UTC (rev 13410)
@@ -26,14 +26,5 @@
deploy.runtime.name=JBoss Deploy-Only Runtime
deploy.runtime.description=A runtime provided to allow a deploy-only server the ability to deploy certain project types.
-
-# service names
-jboss.ejb.deployer=JBoss Enterprise JavaBeans (EJB-JAR) Deployer
-jboss.war.deployer=JBoss Web Application (WAR) Deployer
-jboss.ear.deployer=JBoss J2EE Application (EAR) Deployer
-jboss.service.xml.deployer=JBoss service.xml Deployer
-jboss.sar.deployer=JBoss Service Archive (SAR) Deployer
-jboss.client.deployer=JBoss J2EE Client Deployer
-jboss.rar.deployer=JBoss Connector Resource (RAR) Deployer
Bundle-Vendor.0 = JBoss, a division of Red Hat
Bundle-Name.0 = JBoss AS Core Plug-in
\ No newline at end of file
15 years, 11 months