[jboss-cvs] jbosside/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions ...

Robert Stryker rawblem at gmail.com
Thu Sep 28 18:18:03 EDT 2006


  User: rawb    
  Date: 06/09/28 18:18:03

  Modified:    as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions 
                        ServerPulldownDelegate.java
  Log:
  Added an action to modify the launch config directly, changed messages, removed unused elements in plugin.xml, and other small changes
  
  Revision  Changes    Path
  1.7       +9 -0      jbosside/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerPulldownDelegate.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerPulldownDelegate.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerPulldownDelegate.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- ServerPulldownDelegate.java	20 Sep 2006 21:03:43 -0000	1.6
  +++ ServerPulldownDelegate.java	28 Sep 2006 22:18:02 -0000	1.7
  @@ -288,6 +288,15 @@
       }
   
       public void run(IAction action) {
  +    	// start the server
  +		String defaultServerID = getCurrentDefaultServer();
  +		if( !DEFAULT_JBOSS_SERVER_UNSET.equals(defaultServerID)) {
  +			IServer s = ServerCore.findServer(getCurrentDefaultServer());
  +			if( s.getServerState() == IServer.STATE_STOPPED ) {
  +				StartServerJob startJob = new StartServerJob(s, ILaunchManager.DEBUG_MODE);
  +				startJob.schedule();
  +			}
  +		}
       }
   
       public void selectionChanged(IAction action, ISelection selection) {
  
  
  



More information about the jboss-cvs-commits mailing list