Package net.ssehub.easy.producer.eclipse
Class JavaProjectHandler
- java.lang.Object
-
- net.ssehub.easy.producer.eclipse.JavaProjectHandler
-
- All Implemented Interfaces:
PathEnvironmentFactory.IProjectHandler
public class JavaProjectHandler extends java.lang.Object implements PathEnvironmentFactory.IProjectHandler
Implements a Java project handler for the initialization of path environments.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLASSPATH_IDDefines the ID used in relative references to (external) classpath entries.static PathEnvironmentFactory.IProjectHandlerINSTANCEDefines the singleton instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description privateJavaProjectHandler()Prevents this class from being instantiated from outside.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPaths(org.eclipse.core.resources.IProject project, PathEnvironment pathEnv)Add the relevant path information fromprojecttopathEnv.
-
-
-
Field Detail
-
CLASSPATH_ID
public static final java.lang.String CLASSPATH_ID
Defines the ID used in relative references to (external) classpath entries.- See Also:
- Constant Field Values
-
INSTANCE
public static final PathEnvironmentFactory.IProjectHandler INSTANCE
Defines the singleton instance of this class.
-
-
Method Detail
-
addPaths
public void addPaths(org.eclipse.core.resources.IProject project, PathEnvironment pathEnv)Add the relevant path information fromprojecttopathEnv.- Specified by:
addPathsin interfacePathEnvironmentFactory.IProjectHandler- Parameters:
project- the project containing the information to be added topathEnvpathEnv- the path environment to be modified as a side effect
-
-