# Uses of Interface
org.eclipse.pde.core.target.ITargetDefinition

Packages that use ITargetDefinition
Package
Description
org.eclipse.pde.core.target
Application programming interfaces to access and modify the PDE target platform.
org.eclipse.pde.ui.target
Application programming interfaces describing UI elements that can be contributed to PDE target platform support.

## Uses of ITargetDefinition in org.eclipse.pde.core.target

Methods in org.eclipse.pde.core.target that return ITargetDefinition
Modifier and Type
Method
Description
`ITargetDefinition`
ITargetHandle.`getTargetDefinition()`
Returns the target definition this handle references.
`ITargetDefinition`
ITargetPlatformService.`getWorkspaceTargetDefinition()`
Returns a `ITargetDefinition` that corresponds to the active target platform.
`ITargetDefinition`
ITargetPlatformService.`newDefaultTarget()`
Returns a new target definition with default settings.
`ITargetDefinition`
ITargetPlatformService.`newTarget()`
Returns a new target definition to be stored with local metadata.
Methods in org.eclipse.pde.core.target with parameters of type ITargetDefinition
Modifier and Type
Method
Description
`IStatus`
ITargetPlatformService.`compareWithTargetPlatform(ITargetDefinition target)`
Returns a status describing whether the given target definition is synchronized with workspace's target platform state.
`void`
ITargetPlatformService.`copyTargetDefinition(ITargetDefinition from, ITargetDefinition to)`
Copies all attributes from one target definition to another.
`static void`
LoadTargetDefinitionJob.`load(ITargetDefinition target)`
Constructs a new operation to load the specified target definition as the current target platform.
`static void`
LoadTargetDefinitionJob.`load(ITargetDefinition target, IJobChangeListener listener)`
Constructs a new operation to load the specified target definition as the current target platform.
`void`
ITargetPlatformService.`loadTargetDefinition(ITargetDefinition definition, String targetExtensionId)`
Sets the content of the given target definition based on the target file supplied by an `org.eclipse.pde.core.targets` extension with the specified identifier.
`IStatus`
ITargetLocation.`resolve(ITargetDefinition definition, IProgressMonitor monitor)`
Resolves all contents of this location in the context of the specified target.
`void`
ITargetPlatformService.`saveTargetDefinition(ITargetDefinition definition)`
Persists the given target definition.
Constructors in org.eclipse.pde.core.target with parameters of type ITargetDefinition
Modifier
Constructor
Description
``
`LoadTargetDefinitionJob(ITargetDefinition target)`
Constructs a new operation to load the specified target definition as the current target platform.

## Uses of ITargetDefinition in org.eclipse.pde.ui.target

Methods in org.eclipse.pde.ui.target with parameters of type ITargetDefinition
Modifier and Type
Method
Description
`default boolean`
ITargetLocationHandler.`canDisable(ITargetDefinition target, TreePath treePath)`
Returns whether this handler can disable the element described by the given `TreePath`
`boolean`
ITargetLocationEditor.`canEdit(ITargetDefinition target, ITargetLocation targetLocation)`
Deprecated.
Returns whether this target location can be edited by this editor.
`default boolean`
ITargetLocationHandler.`canEdit(ITargetDefinition target, TreePath treePath)`
Returns whether this handler can edit the element described by the given `TreePath`
`default boolean`
ITargetLocationHandler.`canEnable(ITargetDefinition target, TreePath treePath)`
Returns whether this handler can enable the element described by the given `TreePath`
`default boolean`
ITargetLocationHandler.`canRemove(ITargetDefinition target, TreePath treePath)`
Returns whether this handler can remove the element described by the given `TreePath`
`default boolean`
ITargetLocationHandler.`canUpdate(ITargetDefinition target, TreePath treePath)`
Returns whether this handler can update the element described by the given `TreePath`
`boolean`
ITargetLocationUpdater.`canUpdate(ITargetDefinition target, ITargetLocation targetLocation)`
Deprecated.
Returns whether this updater can update the given target location.
`IWizard`
ITargetLocationEditor.`getEditWizard(ITargetDefinition target, ITargetLocation targetLocation)`
Deprecated.
Returns a wizard that will be opened to edit the given target location.
`default IWizard`
ITargetLocationHandler.`getEditWizard(ITargetDefinition target, TreePath treePath)`
Returns a wizard that will be opened to edit the element described by the given `TreePath` The wizard is responsible for modifying the target location and/or target.
`default IStatus`
ITargetLocationHandler.`reload(ITargetDefinition target, ITargetLocation[] targetLocations, IProgressMonitor monitor)`
Called when the given targetLocations in the given target a re 'reloaded' and the user wants to completely reload any cached state.
`default IStatus`
ITargetLocationHandler.`remove(ITargetDefinition target, TreePath[] treePaths)`
Called when the user request to remove the given items from the target
`void`
ITargetLocationWizard.`setTarget(ITargetDefinition target)`
After the wizard is created this method will be called, providing this wizard with information from the target definition the new location(s) will be added to.
`default IStatus`
ITargetLocationHandler.`toggle(ITargetDefinition target, TreePath[] treePaths)`
Called when the user request to toggle the enabled/disabled state of the given items from the target
`default IStatus`
ITargetLocationHandler.`update(ITargetDefinition target, TreePath[] treePaths, IProgressMonitor monitor)`
Updates the items given in treePath in the given target to the latest version
`IStatus`
ITargetLocationUpdater.`update(ITargetDefinition target, ITargetLocation targetLocation, IProgressMonitor monitor)`
Deprecated.
Updates the given target location.