Package org.eclipse.pde.ui.target
Interface ITargetLocationEditor
-
public interface ITargetLocationEditorContributed target locations that want to support editing in the target wizard and editor must adapt theirITargetLocationto this interface.- Since:
- 3.7
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanEdit(ITargetDefinition target, ITargetLocation targetLocation)Returns whether this target location can be edited by this editor.IWizardgetEditWizard(ITargetDefinition target, ITargetLocation targetLocation)Returns a wizard that will be opened to edit the given target location.
-
-
-
Method Detail
-
canEdit
boolean canEdit(ITargetDefinition target, ITargetLocation targetLocation)
Returns whether this target location can be edited by this editor. This method will be called when a selection is made to determine if the edit button should be enabled.- Parameters:
target- the target definition being editedtargetLocation- the target location to edit- Returns:
- whether this editor can edit the target location
-
getEditWizard
IWizard getEditWizard(ITargetDefinition target, ITargetLocation targetLocation)
Returns a wizard that will be opened to edit the given target location. The wizard is responsible for modifying the target location and/or target. The target definition will be resolved if the wizard completes successfully.- Parameters:
target- the target definition being editedtargetLocation- the target location to edit- Returns:
- wizard to open for editing the target location
-
-