Class ExampleWizardSupport
- java.lang.Object
-
- org.palladiosimulator.simulizar.ui.wizards.ExampleWizardSupport
-
public class ExampleWizardSupport extends Object
-
-
Constructor Summary
Constructors Constructor Description ExampleWizardSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IProject
createProject(String projectName, URI location, String archivePath)
For this marvelous project we need to: - create the default Eclipse project - add the custom project nature - create the folder structurestatic void
modifyLaunchConfigurationAttributeValues(List<String> attributesKeys, String stringToReplace, String stringThatReplaces, ILaunchConfiguration readOnlyLaunchConfiguration, ILaunchConfigurationWorkingCopy writableLaunchConfiguration)
The method changes the values of the launch configuration attributes.
-
-
-
Method Detail
-
createProject
public static IProject createProject(String projectName, URI location, String archivePath)
For this marvelous project we need to: - create the default Eclipse project - add the custom project nature - create the folder structure- Parameters:
projectName
-location
-- Returns:
- Throws:
CoreException
-
modifyLaunchConfigurationAttributeValues
public static void modifyLaunchConfigurationAttributeValues(List<String> attributesKeys, String stringToReplace, String stringThatReplaces, ILaunchConfiguration readOnlyLaunchConfiguration, ILaunchConfigurationWorkingCopy writableLaunchConfiguration) throws CoreException
The method changes the values of the launch configuration attributes. It does string replacement. For the value of every attribute referred byattributeKeys
it replacesstringToReplace
bystringThatReplaces
.- Parameters:
attributesKeys
- keys of attributes to modify.stringToReplace
- string that will be replaced in the values of attributes referred byattributesKeys
.stringThatReplaces
- string that replaces thestringToReplace
.readOnlyLaunchConfiguration
- launchConfiguration that will be modified.writableLaunchConfiguration
- writable version of thereadOnlyLaunchConfiguration
.- Throws:
CoreException
- The exception thrown in case of problems with handling the launch configuration.
-
-