congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FatJarPackageWizardPage$ExistingLaunchConfigurationElement.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarPackageWizardPage$ExistingLaunchConfigurationElement.<init> (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<init>

Popular methods of FatJarPackageWizardPage$ExistingLaunchConfigurationElement

    Popular in Java

    • Parsing JSON documents to java classes using gson
    • runOnUiThread (Activity)
    • getExternalFilesDir (Context)
    • getSharedPreferences (Context)
    • Table (com.google.common.collect)
      A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
    • Graphics2D (java.awt)
      This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
    • Enumeration (java.util)
      A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
    • GregorianCalendar (java.util)
      GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
    • SortedMap (java.util)
      A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
    • ServletException (javax.servlet)
      Defines a general exception a servlet can throw when it encounters difficulty.
    • 21 Best Atom Packages for 2021
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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