|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Responsible for migrating launch configurations between different versions of Eclipse.
A migration delegate is contributed as an optional attribute of a
launchConfigurationType
extension and is responsible for identifying
migration candidates and migrating launch configurations of that type.
For example, since 3.2 launch configurations may have resources mapped to them. A migration delegate could assign appropriate resources to a launch configuration create in an earlier version.
Method Summary | |
---|---|
boolean |
isCandidate(ILaunchConfiguration candidate)
Returns whether the given launch configuration requires migration. |
void |
migrate(ILaunchConfiguration candidate)
Migrates the given launch configuration to be compatible with the current tooling. |
Method Detail |
public boolean isCandidate(ILaunchConfiguration candidate) throws CoreException
candidate
- potential migration candidate
CoreException
- if an exception occurs determining the status of the
given configurationpublic void migrate(ILaunchConfiguration candidate) throws CoreException
candidate
- the candidate to be migrated, which can be a launch configuration
or working copy
CoreException
- if an exception occurs during migration
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.