Class ExampleWizardSupport
java.lang.Object
org.palladiosimulator.simulizar.ui.wizards.ExampleWizardSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IProjectcreateProject(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 voidmodifyLaunchConfigurationAttributeValues(List<String> attributesKeys, String stringToReplace, String stringThatReplaces, ILaunchConfiguration readOnlyLaunchConfiguration, ILaunchConfigurationWorkingCopy writableLaunchConfiguration) The method changes the values of the launch configuration attributes.
-
Constructor Details
-
ExampleWizardSupport
public ExampleWizardSupport()
-
-
Method Details
-
createProject
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 byattributeKeysit replacesstringToReplacebystringThatReplaces.- 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.
-