Examples of doSave()


Examples of com.dubture.composer.ui.editor.composer.ComposerFormEditor.doSave()

    if (part instanceof ComposerFormEditor) {
      editor = (ComposerFormEditor)part;
    }

    if (editor != null && editor.isDirty()) {
      editor.doSave(new NullProgressMonitor());
    }
  }
}
View Full Code Here

Examples of es.iiia.shapeeditor.ShapeEditor.doSave()

  }
 
  @Override
  public void run() {
    ShapeEditor editor = (ShapeEditor) workbenchWindow.getActivePage().getActiveEditor();
    editor.doSave(null);
  }

}
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        }
        wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, type.getFullyQualifiedName());
        wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, type.getJavaProject().getElementName());
        wc.setAttribute(ProseLaunchConfiguration.ATTR_LAUNCH_PROSE_SERVER, true);
        try {
            config = wc.doSave();
        } catch (CoreException exception) {
            reportCreatingConfiguration(exception);
        }
        return config;
    }
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        IPath tp = targetPath.makeRelative();
        try {
            ILaunchConfiguration config = findLaunchConfig(tp);
            if (config == null) {
                ILaunchConfigurationWorkingCopy wc = createConfiguration(tp);
                config = wc.doSave();
            }
            DebugUITools.launch(config, mode);
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

  public void setRunConfVmArgs(final ILaunchConfiguration conf, final String vmargs) throws CoreException
  {
    ILaunchConfigurationWorkingCopy confWc = conf.getWorkingCopy();
    confWc.setAttribute(JunitLaunchListener.VM_ARGS, vmargs);
    confWc.doSave();
  }

  public void setOrCreateVariable(final String value) throws CoreException
  {
    IStringVariableManager varMan = VariablesPlugin.getDefault().getStringVariableManager();
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        IPath projectPath = element.getJavaProject().getProject().getFullPath().makeRelative();

        ILaunchConfiguration config = findLaunchConfig(projectPath);
        if (config == null) {
            ILaunchConfigurationWorkingCopy wc = createConfiguration(projectPath);
            wc.doSave();

            customise(element, wc);
            config = wc;
        } else {
            ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        IPath tp = targetPath.makeRelative();
        try {
            ILaunchConfiguration config = findLaunchConfig(tp);
            if (config == null) {
                ILaunchConfigurationWorkingCopy wc = createConfiguration(tp);
                config = wc.doSave();
            }
            DebugUITools.launch(config, mode);
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

            PerlLaunchConfigurationConstants.ATTR_PROJECT_NAME,
            file.getProject().getName());
        wc.setAttribute(
            PerlLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
            (String) null);
        config = wc.doSave();
      }
    } catch (CoreException e) {
      PerlDebugPlugin.log(e);
    }
    return config;
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

        wc.setAttribute(CloudFoundryDebuggingLaunchConfigDelegate.HOST_NAME, host);
        wc.setAttribute(CloudFoundryDebuggingLaunchConfigDelegate.PORT, port + ""); //$NON-NLS-1$
        wc.setAttribute(CloudFoundryDebuggingLaunchConfigDelegate.TIME_OUT, timeout + ""); //$NON-NLS-1$
        wc.setAttribute(CloudFoundryDebuggingLaunchConfigDelegate.DEBUGGER_CONNECTION_ID,
            getDebuggerConnectionIdentifier());
        configuration = wc.doSave();

        DebugUITools.setLaunchPerspective(launchConfigType, ILaunchManager.DEBUG_MODE,
            IDebugUIConstants.ID_DEBUG_PERSPECTIVE);

        return configuration;
View Full Code Here

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.doSave()

    workingCopy.setAttribute(
        IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, type
            .getJavaProject().getElementName());
    workingCopy.setMappedResources(new IResource[] { type
        .getUnderlyingResource() });
    return workingCopy.doSave();
  }

  protected IPath[] getRuntimeClasspaths(ILaunchConfiguration configuration)
      throws CoreException {
    IRuntimeClasspathEntry[] entries = JavaRuntime
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.