Package org.eclipse.pde.internal.core.ibundle

Examples of org.eclipse.pde.internal.core.ibundle.IBundle


  }
 
  @Override
  public void execute(IProject project, IPluginModelBase model, IProgressMonitor monitor) throws CoreException {
    if( model.getPluginBase() instanceof BundlePluginBase ) {
      IBundle bundle = ((BundlePluginBase) model.getPluginBase()).getBundle();
     
      String imports = bundle.getHeader(Constants.IMPORT_PACKAGE);
      if( imports == null ) {
        imports = "";
      }
     
      List<String> collection = new ArrayList<String>();
      collection.addAll(Arrays.asList(Activator.getJavaFXImports()));
      collection.addAll(Arrays.asList(Activator.getJemmyImports()));
      imports += Activator.getCommaValuesFromPackagesArray(collection.toArray(new String[0]), null);
     
      bundle.setHeader(Constants.IMPORT_PACKAGE, imports);
    }
    super.execute(project, model, monitor);
   
    IFile f = project.getFile(new Path(project.getName() + ".launch"));
    JemmyLaunch l = new JemmyLaunch();
View Full Code Here


 
  public void execute(IProject project, final IPluginModelBase model,
      IProgressMonitor monitor) throws CoreException {
   
    if( model.getPluginBase() instanceof BundlePluginBase ) {
      IBundle bundle = ((BundlePluginBase) model.getPluginBase()).getBundle();
     
      String imports = bundle.getHeader(Constants.IMPORT_PACKAGE);
      if( imports == null ) {
        imports = "";
      }
     
      imports += Activator.getCommaValuesFromPackagesArray(Activator.getJavaFXImports(), null);
     
      bundle.setHeader(Constants.IMPORT_PACKAGE, imports);
    }
   
    super.execute(project, model, monitor);
   
    if (getBooleanOption(KEY_PRODUCT_BRANDING)) {
View Full Code Here

//    List<IClasspathEntry> entries = new ArrayList<IClasspathEntry>(Arrays.asList(jProject.getRawClasspath()));
//    entries.add(JavaCore.newContainerEntry(JavaFXCore.JAVAFX_CONTAINER_PATH));
//    jProject.setRawClasspath(entries.toArray(new IClasspathEntry[0]), monitor);
   
    if( model.getPluginBase() instanceof BundlePluginBase ) {
      IBundle bundle = ((BundlePluginBase) model.getPluginBase()).getBundle();
     
      String imports = bundle.getHeader(Constants.IMPORT_PACKAGE);
      if( imports == null ) {
        imports = "";
      }
     
      imports += Activator.getCommaValuesFromPackagesArray(Activator.getJavaFXImports(), null);
     
      bundle.setHeader(Constants.IMPORT_PACKAGE, imports);
    }
    super.execute(project, model, monitor);
  }
View Full Code Here

  }
 
  public void execute(IProject project, IPluginModelBase model,
      IProgressMonitor monitor) throws CoreException {
    if( model.getPluginBase() instanceof BundlePluginBase ) {
      IBundle bundle = ((BundlePluginBase) model.getPluginBase()).getBundle();
     
      String imports = bundle.getHeader(Constants.IMPORT_PACKAGE);
      if( imports == null ) {
        imports = "";
      }
     
      imports += Activator.getCommaValuesFromPackagesArray(Activator.getJavaFXImports(), null);
     
      bundle.setHeader(Constants.IMPORT_PACKAGE, imports);
    }
   
    super.execute(project, model, monitor);
  }
View Full Code Here

 
  @Override
  public void execute(IProject project, final IPluginModelBase model,
      IProgressMonitor monitor) throws CoreException {
    if( model.getPluginBase() instanceof BundlePluginBase ) {
      IBundle bundle = ((BundlePluginBase) model.getPluginBase()).getBundle();
     
      String imports = bundle.getHeader(Constants.IMPORT_PACKAGE);
      if( imports == null ) {
        imports = "";
      }
     
      imports += Activator.getCommaValuesFromPackagesArray(Activator.getJavaFXImports(), null);
     
      bundle.setHeader(Constants.IMPORT_PACKAGE, imports);
    }
   
    super.execute(project, model, monitor);
   
    IFile f = project.getFile(new Path(project.getName() + ".product.launch"));
View Full Code Here

TOP

Related Classes of org.eclipse.pde.internal.core.ibundle.IBundle

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.