Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] Change to team.ui action

The class org.eclipse.team.ui.actions.UpdateAction has been renamed to 
org.eclipse.team.ui.GetAction. This is to make it correspond with the team 
provider API it calls, which is "get()". Update is a CVS-specific ter, and 
it was an error to name it UpdateAction in the first place.

If you use UpdateAction either as itself, or subclass the action for use 
in your team provider UI, you will undoubtedly notice red X's when you 
re-load the current org.eclipse.team.ui plug-in from CVS; the fix is 
simply to change your references from UpdateAction to GetAction.

Note that if you use UpdateAction in your plugin.xml, you will not get a 
compile error but when you try to start the workbench or pop a menu up, 
you will get a failure notification in the console (something like 
"Couldn't load class org.eclipse.team.ui.actions.UpdateAction". So please 
check your plugin.xml file as well.

If you have any comments or concerns please let me know.

Thanks,

james


Back to the top