|
Eclipse PDE Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITargetLocationUpdater
Contributed target locations that want to support updating in the target wizard and editor must adapt
their ITargetLocation
to this interface.
Field Summary | |
---|---|
static int |
STATUS_CODE_NO_CHANGE
Status code that can be set on an OK status returned by update(ITargetDefinition, ITargetLocation, IProgressMonitor)
If this status code is set, the target will not resolve the target after the update completes. |
Method Summary | |
---|---|
boolean |
canUpdate(ITargetDefinition target,
ITargetLocation targetLocation)
Returns whether this updater can update the given target location. |
IStatus |
update(ITargetDefinition target,
ITargetLocation targetLocation,
IProgressMonitor monitor)
Updates the given target location. |
Field Detail |
---|
static final int STATUS_CODE_NO_CHANGE
update(ITargetDefinition, ITargetLocation, IProgressMonitor)
If this status code is set, the target will not resolve the target after the update completes.
Method Detail |
---|
boolean canUpdate(ITargetDefinition target, ITargetLocation targetLocation)
target
- the target definition being editedtargetLocation
- the target location to update
IStatus update(ITargetDefinition target, ITargetLocation targetLocation, IProgressMonitor monitor)
STATUS_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.
target
- the target definition being editedtargetLocation
- the target location to updatemonitor
- progress monitor
STATUS_CODE_NO_CHANGE
to indicate everything is up to date
|
Eclipse PDE Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.