Package org.eclipse.pde.ui.target
Interface ITargetLocationUpdater
- 
 @Deprecated public interface ITargetLocationUpdater Deprecated.useITargetLocationHandlerinsteadContributed target locations that want to support updating 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.
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intSTATUS_CODE_NO_CHANGEDeprecated.Status code that can be set on an OK status returned byupdate(ITargetDefinition, ITargetLocation, IProgressMonitor)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancanUpdate(ITargetDefinition target, ITargetLocation targetLocation)Deprecated.Returns whether this updater can update the given target location.IStatusupdate(ITargetDefinition target, ITargetLocation targetLocation, IProgressMonitor monitor)Deprecated.Updates the given target location.
 
- 
- 
- 
Field Detail- 
STATUS_CODE_NO_CHANGEstatic final int STATUS_CODE_NO_CHANGE Deprecated.Status code that can be set on an OK status returned byupdate(ITargetDefinition, ITargetLocation, IProgressMonitor)If this status code is set, the target will not resolve the target after the update completes. - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
canUpdateboolean canUpdate(ITargetDefinition target, ITargetLocation targetLocation) Deprecated.Returns whether this updater can update the given target location. This method will be called when a selection is made to determine if the update button should be enabled.- Parameters:
- target- the target definition being edited
- targetLocation- the target location to update
- Returns:
- whether this update can update the given target location
 
 - 
updateIStatus update(ITargetDefinition target, ITargetLocation targetLocation, IProgressMonitor monitor) Deprecated.Updates the given target location. If an OK status is returned, the target will be resolved unless the status has the codeSTATUS_CODE_NO_CHANGE. If a non-OK status is returned the message will be presented to the user.This method may be called from a non-UI thread. A progress monitor is provided. - Parameters:
- target- the target definition being edited
- targetLocation- the target location to update
- monitor- progress monitor
- Returns:
- result of the update, use an OK status with STATUS_CODE_NO_CHANGEto indicate everything is up to date
 
 
- 
 
-