Interface ILaunchTargetWorkingCopy

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, ILaunchTarget

public interface ILaunchTargetWorkingCopy extends ILaunchTarget
Working copy to set attributes on a target and then save them.
  • Method Details

    • getOriginal

      ILaunchTarget getOriginal()
      Get the original launch target.
      Returns:
      the original launch target
    • setId

      void setId(String id)
      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

      void setAttribute(String key, String value)
      Set an attribute.
      Parameters:
      key - key
      value - value
    • 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