org.eclipse.etrice.core.ui.newwizard
Class ProjectCreator

java.lang.Object
  extended by org.eclipse.etrice.core.ui.newwizard.ProjectCreator

public class ProjectCreator
extends java.lang.Object

Author:
Henrik Rentz-Reichert - Initial contribution and API

Constructor Summary
ProjectCreator()
           
 
Method Summary
static void createBuildProperties(URI uri, java.lang.String baseName)
           
static org.eclipse.core.resources.IProject createETriceProject(org.eclipse.core.runtime.IPath javaSource, org.eclipse.core.runtime.IPath javaSourceGen, URI projectLocationURI, org.eclipse.core.resources.IProject runtimeProject, java.util.List<java.lang.String> naturesToAdd, java.util.List<java.lang.String> buildersToAdd, Monitor monitor)
           
static void createLaunchConfig(URI uri, java.lang.String baseName, java.lang.String[] addLines)
           
static void createModel(URI uri, java.lang.String baseName)
           
static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path, boolean forceRefresh, org.eclipse.core.runtime.IPath localLocation, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path, boolean forceRefresh, org.eclipse.core.resources.IProjectDescription projectDescription, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
static java.util.List<java.lang.String> getCommonBuilderIDs()
           
static java.util.List<java.lang.String> getCommonNatureIDs()
           
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
          Returns an image descriptor for the image file at the given plug-in relative path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectCreator

public ProjectCreator()
Method Detail

getCommonNatureIDs

public static java.util.List<java.lang.String> getCommonNatureIDs()

getCommonBuilderIDs

public static java.util.List<java.lang.String> getCommonBuilderIDs()

createETriceProject

public static org.eclipse.core.resources.IProject createETriceProject(org.eclipse.core.runtime.IPath javaSource,
                                                                      org.eclipse.core.runtime.IPath javaSourceGen,
                                                                      URI projectLocationURI,
                                                                      org.eclipse.core.resources.IProject runtimeProject,
                                                                      java.util.List<java.lang.String> naturesToAdd,
                                                                      java.util.List<java.lang.String> buildersToAdd,
                                                                      Monitor monitor)

findOrCreateContainer

public static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path,
                                                                          boolean forceRefresh,
                                                                          org.eclipse.core.runtime.IPath localLocation,
                                                                          org.eclipse.core.runtime.IProgressMonitor progressMonitor)
                                                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

findOrCreateContainer

public static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path,
                                                                          boolean forceRefresh,
                                                                          org.eclipse.core.resources.IProjectDescription projectDescription,
                                                                          org.eclipse.core.runtime.IProgressMonitor progressMonitor)
                                                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

createModel

public static void createModel(URI uri,
                               java.lang.String baseName)

createBuildProperties

public static void createBuildProperties(URI uri,
                                         java.lang.String baseName)

createLaunchConfig

public static void createLaunchConfig(URI uri,
                                      java.lang.String baseName,
                                      java.lang.String[] addLines)

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path

Parameters:
path - the path
Returns:
the image descriptor