Tabnine Logo
FatJarPackageWizardPage$ExistingLaunchConfigurationElement
Code IndexAdd Tabnine to your IDE (free)

How to use
FatJarPackageWizardPage$ExistingLaunchConfigurationElement
in
org.eclipse.jdt.internal.ui.jarpackagerfat

Best Java code snippets using org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarPackageWizardPage$ExistingLaunchConfigurationElement (Showing top 2 results out of 315)

origin: org.eclipse.jdt/org.eclipse.jdt.ui

private LaunchConfigurationElement[] getLaunchConfigurations() {
  ArrayList<ExistingLaunchConfigurationElement> result= new ArrayList<>();
  try {
    ILaunchManager manager= DebugPlugin.getDefault().getLaunchManager();
    ILaunchConfigurationType type= manager.getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_JAVA_APPLICATION);
    ILaunchConfiguration[] launchconfigs= manager.getLaunchConfigurations(type);
    for (int i= 0; i < launchconfigs.length; i++) {
      ILaunchConfiguration launchconfig= launchconfigs[i];
      if (!launchconfig.getAttribute(IDebugUIConstants.ATTR_PRIVATE, false)) {
        String projectName= launchconfig.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); //$NON-NLS-1$
        result.add(new ExistingLaunchConfigurationElement(launchconfig, projectName));
      }
    }
  } catch (CoreException e) {
    JavaPlugin.log(e);
  }
  return result.toArray(new LaunchConfigurationElement[result.size()]);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

private LaunchConfigurationElement[] getLaunchConfigurations() {
  ArrayList<ExistingLaunchConfigurationElement> result= new ArrayList<>();
  try {
    ILaunchManager manager= DebugPlugin.getDefault().getLaunchManager();
    ILaunchConfigurationType type= manager.getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_JAVA_APPLICATION);
    ILaunchConfiguration[] launchconfigs= manager.getLaunchConfigurations(type);
    for (int i= 0; i < launchconfigs.length; i++) {
      ILaunchConfiguration launchconfig= launchconfigs[i];
      if (!launchconfig.getAttribute(IDebugUIConstants.ATTR_PRIVATE, false)) {
        String projectName= launchconfig.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); //$NON-NLS-1$
        result.add(new ExistingLaunchConfigurationElement(launchconfig, projectName));
      }
    }
  } catch (CoreException e) {
    JavaPlugin.log(e);
  }
  return result.toArray(new LaunchConfigurationElement[result.size()]);
}
org.eclipse.jdt.internal.ui.jarpackagerfatFatJarPackageWizardPage$ExistingLaunchConfigurationElement

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now