Package org.eclipse.debug.core

Examples of org.eclipse.debug.core.ILaunch.terminate()


    @Override
    public synchronized void dispose() {
        try {
            final ILaunch launch = getData().getLaunch();
            if (launch != null && !launch.isTerminated()) {
                launch.terminate();
            }
        } catch (final DebugException e) {
            ErlLogger.error(e);
        }
        super.dispose();
View Full Code Here


                            operation[0] = "Disconnect";
                            target.disconnect();
                        } else {
                            operation[0] = "Restart";
                            final ILaunch launch = target.getLaunch();
                            launch.terminate();
                            final ILaunchConfiguration config = launch
                                    .getLaunchConfiguration();
                            if (config != null && config.exists()) {
                                DebugUITools.launch(config, launch.getLaunchMode());
                            }
View Full Code Here

                    if ( ( launch != null ) && ( !launch.isTerminated() ) )
                    {
                        // Terminating the launch
                        try
                        {
                            launch.terminate();
                            writeToInfoConsoleMessageStream( Messages.getString( "StopAction.ServerStopped" ) ); //$NON-NLS-1$
                        }
                        catch ( DebugException e )
                        {
                            ApacheDsPluginUtils.reportError( Messages.getString( "StopAction.ErrorWhenStopping" ) //$NON-NLS-1$
View Full Code Here

                        if ( ( launch != null ) && ( !launch.isTerminated() ) )
                        {
                            // Terminating the launch
                            try
                            {
                                launch.terminate();
                            }
                            catch ( DebugException e )
                            {
                                ApacheDsPluginUtils.reportError( Messages.getString( "DeleteAction.ErrorWhileStopping" ) //$NON-NLS-1$
                                    + e.getMessage() );
View Full Code Here

      Node[] children = root.getChildren();
      assertTrue("children were null", children != null);
      assertEquals("Example had the wrong number of domains", 5, children.length);
    } finally {
       projectProvider.dispose();
      launch.terminate();
    }
  }

  @SuppressWarnings("unchecked")
  protected ILaunchConfigurationWorkingCopy createLaunch() throws Exception {
View Full Code Here

          internalSleep(100);
        }

        if (acaRunLaunch != null && !acaRunLaunch.isTerminated())
        {
          acaRunLaunch.terminate();
        }

        setActiveLaunch(null);

        @SuppressWarnings("unchecked")
View Full Code Here

    try
    {
      ILaunch l = getActiveLaunch();
      if(l != null)
      {
        l.terminate();
      }
      this.interrupt();
    } catch (Exception e)
    {
      DestecsDebugPlugin.logError("Failed to stop ACA Manager.", e);
View Full Code Here

        // Getting the launch
        ILaunch launch = ( ILaunch ) server.removeCustomObject( LdapServersUtils.LAUNCH_CONFIGURATION_CUSTOM_OBJECT );
        if ( ( launch != null ) && ( !launch.isTerminated() ) )
        {
            // Terminating the launch
            launch.terminate();
        }
        else
        {
            throw new Exception(
                Messages.getString( "LdapServersUtils.AssociatedLaunchConfigurationCouldNotBeFoundOrTerminated" ) ); //$NON-NLS-1$
View Full Code Here

                    if ( ( launch != null ) && ( !launch.isTerminated() ) )
                    {
                        // Terminating the launch
                        try
                        {
                            launch.terminate();
                            writeToInfoConsoleMessageStream( Messages.getString( "StopAction.ServerStopped" ) ); //$NON-NLS-1$
                        }
                        catch ( DebugException e )
                        {
                            ApacheDsPluginUtils.reportError( Messages.getString( "StopAction.ErrorWhenStopping" ) //$NON-NLS-1$
View Full Code Here

                        if ( ( launch != null ) && ( !launch.isTerminated() ) )
                        {
                            // Terminating the launch
                            try
                            {
                                launch.terminate();
                            }
                            catch ( DebugException e )
                            {
                                ApacheDsPluginUtils.reportError( Messages.getString( "DeleteAction.ErrorWhileStopping" ) //$NON-NLS-1$
                                    + e.getMessage() );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.