Package org.eclipse.core.resources

Examples of org.eclipse.core.resources.ICommand


    // Check the description to see if it already has the builder
    IProjectDescription description = project.getDescription();
    List<ICommand> newCmds = new ArrayList<ICommand>();
    newCmds.addAll(Arrays.asList(description.getBuildSpec()));

    ICommand command = description.newCommand();
    command.setBuilderName(SketchBuilder.BUILDER_ID);
   
    int ploc = newCmds.lastIndexOf(SketchBuilder.BUILDER_ID);

    // remove it if it does
    if (ploc != -1) newCmds.remove(ploc);
View Full Code Here

TOP

Related Classes of org.eclipse.core.resources.ICommand

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.