Package at.bestsolution.efxclipse.tooling.pde.ui.templates

Examples of at.bestsolution.efxclipse.tooling.pde.ui.templates.PluginLaunchDef


    } else {
      d.getTargetPlugins().addAll(JemmyLaunchDef.getTargetPluginsOSGi());
    }
   
    for( String t : target ) {
      d.getTargetPlugins().add(new PluginLaunchDef(t));
    }
    d.getWorkbenchPlugins().add(new PluginLaunchDef(model.getPluginBase().getId()));
    for( String w : workspace ) {
      d.getWorkbenchPlugins().add(new PluginLaunchDef(w));
    }
   
    return d;
  }
View Full Code Here


        String _id_1 = fp.getId();
        boolean _equals_1 = "org.eclipse.core.runtime.compatibility.registry".equals(_id_1);
        if (_equals_1) {
          Set<PluginLaunchDef> _targetPlugins = launchDef.getTargetPlugins();
          String _id_2 = fp.getId();
          PluginLaunchDef _pluginLaunchDef = new PluginLaunchDef(_id_2, "default", "false");
          _targetPlugins.add(_pluginLaunchDef);
        } else {
          String _id_3 = fp.getId();
          boolean _equals_2 = "org.eclipse.core.runtime".equals(_id_3);
          if (_equals_2) {
            Set<PluginLaunchDef> _targetPlugins_1 = launchDef.getTargetPlugins();
            String _id_4 = fp.getId();
            PluginLaunchDef _pluginLaunchDef_1 = new PluginLaunchDef(_id_4, "default", "true");
            _targetPlugins_1.add(_pluginLaunchDef_1);
          } else {
            String _id_5 = fp.getId();
            boolean _equals_3 = "org.eclipse.equinox.common".equals(_id_5);
            if (_equals_3) {
              Set<PluginLaunchDef> _targetPlugins_2 = launchDef.getTargetPlugins();
              String _id_6 = fp.getId();
              PluginLaunchDef _pluginLaunchDef_2 = new PluginLaunchDef(_id_6, "2", "true");
              _targetPlugins_2.add(_pluginLaunchDef_2);
            } else {
              String _id_7 = fp.getId();
              boolean _equals_4 = "org.eclipse.equinox.ds".equals(_id_7);
              if (_equals_4) {
                Set<PluginLaunchDef> _targetPlugins_3 = launchDef.getTargetPlugins();
                String _id_8 = fp.getId();
                PluginLaunchDef _pluginLaunchDef_3 = new PluginLaunchDef(_id_8, "1", "true");
                _targetPlugins_3.add(_pluginLaunchDef_3);
              } else {
                String _id_9 = fp.getId();
                boolean _equals_5 = "org.eclipse.osgi".equals(_id_9);
                if (_equals_5) {
                  Set<PluginLaunchDef> _targetPlugins_4 = launchDef.getTargetPlugins();
                  String _id_10 = fp.getId();
                  PluginLaunchDef _pluginLaunchDef_4 = new PluginLaunchDef(_id_10, "-1", "true");
                  _targetPlugins_4.add(_pluginLaunchDef_4);
                } else {
                  Set<PluginLaunchDef> _targetPlugins_5 = launchDef.getTargetPlugins();
                  String _id_11 = fp.getId();
                  PluginLaunchDef _pluginLaunchDef_5 = new PluginLaunchDef(_id_11);
                  _targetPlugins_5.add(_pluginLaunchDef_5);
                }
              }
            }
          }
        }
      }
    }
    Set<PluginLaunchDef> _targetPlugins_6 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_6 = new PluginLaunchDef("at.bestsolution.efxclipse.runtime.jemmy");
    _targetPlugins_6.add(_pluginLaunchDef_6);
    Set<PluginLaunchDef> _targetPlugins_7 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_7 = new PluginLaunchDef("org.eclipse.jdt.junit.runtime");
    _targetPlugins_7.add(_pluginLaunchDef_7);
    Set<PluginLaunchDef> _targetPlugins_8 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_8 = new PluginLaunchDef("org.eclipse.jdt.junit4.runtime");
    _targetPlugins_8.add(_pluginLaunchDef_8);
    Set<PluginLaunchDef> _targetPlugins_9 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_9 = new PluginLaunchDef("org.eclipse.osgi.services");
    _targetPlugins_9.add(_pluginLaunchDef_9);
    Set<PluginLaunchDef> _targetPlugins_10 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_10 = new PluginLaunchDef("org.eclipse.pde.junit.runtime");
    _targetPlugins_10.add(_pluginLaunchDef_10);
    Set<PluginLaunchDef> _targetPlugins_11 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_11 = new PluginLaunchDef("org.hamcrest.core");
    _targetPlugins_11.add(_pluginLaunchDef_11);
    Set<PluginLaunchDef> _targetPlugins_12 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_12 = new PluginLaunchDef("org.jemmy.fx.repackaged");
    _targetPlugins_12.add(_pluginLaunchDef_12);
    Set<PluginLaunchDef> _targetPlugins_13 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_13 = new PluginLaunchDef("org.junit*4.10.0.v4_10_0_v20120426-0900");
    _targetPlugins_13.add(_pluginLaunchDef_13);
    Set<PluginLaunchDef> _targetPlugins_14 = launchDef.getTargetPlugins();
    PluginLaunchDef _pluginLaunchDef_14 = new PluginLaunchDef("org.junit4");
    _targetPlugins_14.add(_pluginLaunchDef_14);
    Set<PluginLaunchDef> _workbenchPlugins = launchDef.getWorkbenchPlugins();
    PluginLaunchDef _pluginLaunchDef_15 = new PluginLaunchDef(symbolicName);
    _workbenchPlugins.add(_pluginLaunchDef_15);
    Set<PluginLaunchDef> _workbenchPlugins_1 = launchDef.getWorkbenchPlugins();
    String _plus_3 = (symbolicName + ".jemmy");
    PluginLaunchDef _pluginLaunchDef_16 = new PluginLaunchDef(_plus_3);
    _workbenchPlugins_1.add(_pluginLaunchDef_16);
    CharSequence _generate = this.generate(launchDef);
    String _string = _generate.toString();
    byte[] _bytes = _string.getBytes();
    ByteArrayInputStream _byteArrayInputStream = new ByteArrayInputStream(_bytes);
View Full Code Here

   
    IFile f = project.getFile(new Path(project.getName() + ".product.launch"));
    OSGiLaunchDef def = new OSGiLaunchDef();
    def.setProjectName(project.getName());
    def.getTargetPlugins().addAll(OSGiLaunchDef.getTargetDefinitions());
    def.getWorkbenchPlugins().add(new PluginLaunchDef(project.getName()));
    try {
      ByteArrayInputStream in = new ByteArrayInputStream(new OSGiAppLaunchGenerator().generate(def).toString().getBytes());
      f.create(in, true, monitor);
      in.close();
    } catch (CoreException e1) {
View Full Code Here

public class E4LaunchDef extends BasicLaunchDef {
 
  public static Set<PluginLaunchDef> getE4TargetPlugins() {
    Set<PluginLaunchDef> set = new HashSet<PluginLaunchDef>();
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.application"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.bindings.e4"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.bindings.generic"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.bindings"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.databinding"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.di"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.dialogs"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.javafx"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.osgi.util"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.osgi","default","false"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.panels"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.services"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.theme"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.workbench.base"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.workbench.fx"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.workbench.renderers.base"));
    set.add(new PluginLaunchDef("at.bestsolution.efxclipse.runtime.workbench.renderers.fx"));
    set.add(new PluginLaunchDef("com.ibm.icu"));
    set.add(new PluginLaunchDef("javax.annotation"));
    set.add(new PluginLaunchDef("javax.inject"));
    set.add(new PluginLaunchDef("javax.xml"));
    set.add(new PluginLaunchDef("org.apache.commons.logging"));
    set.add(new PluginLaunchDef("org.eclipse.core.commands"));
    set.add(new PluginLaunchDef("org.eclipse.core.contenttype"));
    set.add(new PluginLaunchDef("org.eclipse.core.databinding.observable"));
    set.add(new PluginLaunchDef("org.eclipse.core.databinding.property"));
    set.add(new PluginLaunchDef("org.eclipse.core.databinding"));
    set.add(new PluginLaunchDef("org.eclipse.core.expressions"));
//    set.add(new PluginLaunchDef("org.eclipse.core.filesystem.macosx","default","false"));
    set.add(new PluginLaunchDef("org.eclipse.core.filesystem"));
    set.add(new PluginLaunchDef("org.eclipse.core.jobs"));
    set.add(new PluginLaunchDef("org.eclipse.core.resources"));
    set.add(new PluginLaunchDef("org.eclipse.core.runtime.compatibility.registry","default","false"));
    set.add(new PluginLaunchDef("org.eclipse.core.runtime","default","true"));
    set.add(new PluginLaunchDef("org.eclipse.e4.core.commands"));
    set.add(new PluginLaunchDef("org.eclipse.e4.core.contexts"));
    set.add(new PluginLaunchDef("org.eclipse.e4.core.di.extensions"));
    set.add(new PluginLaunchDef("org.eclipse.e4.core.di"));
    set.add(new PluginLaunchDef("org.eclipse.e4.core.services"));
    set.add(new PluginLaunchDef("org.eclipse.e4.ui.di"));
    set.add(new PluginLaunchDef("org.eclipse.e4.ui.model.workbench"));
    set.add(new PluginLaunchDef("org.eclipse.e4.ui.services"));
    set.add(new PluginLaunchDef("org.eclipse.e4.ui.workbench"));
    set.add(new PluginLaunchDef("org.eclipse.emf.common"));
    set.add(new PluginLaunchDef("org.eclipse.emf.databinding"));
    set.add(new PluginLaunchDef("org.eclipse.emf.ecore.change"));
    set.add(new PluginLaunchDef("org.eclipse.emf.ecore.xmi"));
    set.add(new PluginLaunchDef("org.eclipse.emf.ecore"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.app"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.common","2","true"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.concurrent"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.ds","1","true"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.event"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.preferences"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.registry"));
    set.add(new PluginLaunchDef("org.eclipse.equinox.util"));
    set.add(new PluginLaunchDef("org.eclipse.osgi.services"));
    set.add(new PluginLaunchDef("org.eclipse.osgi","-1","true"));
   
    return set;
  }
View Full Code Here

          String _id_1 = fp.getId();
          boolean _equals_1 = "org.eclipse.core.runtime.compatibility.registry".equals(_id_1);
          if (_equals_1) {
            Set<PluginLaunchDef> _targetPlugins = launchDef.getTargetPlugins();
            String _id_2 = fp.getId();
            PluginLaunchDef _pluginLaunchDef = new PluginLaunchDef(_id_2, "default", "false");
            _targetPlugins.add(_pluginLaunchDef);
          } else {
            String _id_3 = fp.getId();
            boolean _equals_2 = "org.eclipse.core.runtime".equals(_id_3);
            if (_equals_2) {
              Set<PluginLaunchDef> _targetPlugins_1 = launchDef.getTargetPlugins();
              String _id_4 = fp.getId();
              PluginLaunchDef _pluginLaunchDef_1 = new PluginLaunchDef(_id_4, "default", "true");
              _targetPlugins_1.add(_pluginLaunchDef_1);
            } else {
              String _id_5 = fp.getId();
              boolean _equals_3 = "org.eclipse.equinox.common".equals(_id_5);
              if (_equals_3) {
                Set<PluginLaunchDef> _targetPlugins_2 = launchDef.getTargetPlugins();
                String _id_6 = fp.getId();
                PluginLaunchDef _pluginLaunchDef_2 = new PluginLaunchDef(_id_6, "2", "true");
                _targetPlugins_2.add(_pluginLaunchDef_2);
              } else {
                String _id_7 = fp.getId();
                boolean _equals_4 = "org.eclipse.equinox.ds".equals(_id_7);
                if (_equals_4) {
                  Set<PluginLaunchDef> _targetPlugins_3 = launchDef.getTargetPlugins();
                  String _id_8 = fp.getId();
                  PluginLaunchDef _pluginLaunchDef_3 = new PluginLaunchDef(_id_8, "1", "true");
                  _targetPlugins_3.add(_pluginLaunchDef_3);
                } else {
                  String _id_9 = fp.getId();
                  boolean _equals_5 = "org.eclipse.osgi".equals(_id_9);
                  if (_equals_5) {
                    Set<PluginLaunchDef> _targetPlugins_4 = launchDef.getTargetPlugins();
                    String _id_10 = fp.getId();
                    PluginLaunchDef _pluginLaunchDef_4 = new PluginLaunchDef(_id_10, "-1", "true");
                    _targetPlugins_4.add(_pluginLaunchDef_4);
                  } else {
                    Set<PluginLaunchDef> _targetPlugins_5 = launchDef.getTargetPlugins();
                    String _id_11 = fp.getId();
                    PluginLaunchDef _pluginLaunchDef_5 = new PluginLaunchDef(_id_11);
                    _targetPlugins_5.add(_pluginLaunchDef_5);
                  }
                }
              }
            }
          }
        }
      }
      Set<PluginLaunchDef> _workbenchPlugins = launchDef.getWorkbenchPlugins();
      PluginLaunchDef _pluginLaunchDef_6 = new PluginLaunchDef(symbolicName);
      _workbenchPlugins.add(_pluginLaunchDef_6);
    }
    CharSequence _generate = this.generate(launchDef);
    String _string = _generate.toString();
    byte[] _bytes = _string.getBytes();
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.pde.ui.templates.PluginLaunchDef

Copyright © 2018 www.massapicom. 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.