Package net.ssehub.easy.producer.eclipse
Class JavaProjectHandler
java.lang.Object
net.ssehub.easy.producer.eclipse.JavaProjectHandler
- All Implemented Interfaces:
PathEnvironmentFactory.IProjectHandler
Implements a Java project handler for the initialization of path environments.
- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefines the ID used in relative references to (external) classpath entries.static final PathEnvironmentFactory.IProjectHandlerDefines the singleton instance of this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrevents this class from being instantiated from outside. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPaths(org.eclipse.core.resources.IProject project, net.ssehub.easy.producer.core.persistence.datatypes.PathEnvironment pathEnv) Add the relevant path information fromprojecttopathEnv.
-
Field Details
-
CLASSPATH_ID
Defines the ID used in relative references to (external) classpath entries.- See Also:
-
INSTANCE
Defines the singleton instance of this class.
-
-
Constructor Details
-
JavaProjectHandler
private JavaProjectHandler()Prevents this class from being instantiated from outside.
-
-
Method Details
-
addPaths
public void addPaths(org.eclipse.core.resources.IProject project, net.ssehub.easy.producer.core.persistence.datatypes.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
-