Interface ILaunchTargetWorkingCopy
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, ILaunchTarget
Working copy to set attributes on a target and then save them.
-
Field Summary
Fields inherited from interface ILaunchTarget
ATTR_ARCH, ATTR_OS, NULL_TARGET -
Method Summary
Modifier and TypeMethodDescriptionGet the original launch target.save()Save the changes to the original working copy.voidsetAttribute(String key, String value) Set an attribute.voidGives the target a new ID.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface ILaunchTarget
getAttribute, getAttributes, getId, getTypeId, getWorkingCopy
-
Method Details
-
getOriginal
-
setId
Gives the target a new ID. The save method will return a new target with the given name.e- Parameters:
id- new target ID
-
setAttribute
-
save
ILaunchTarget save()Save the changes to the original working copy.- Returns:
- original launch target unless the id was changed in which case returns a new target
-