Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-09-11 10:14:50 +0000
committerEike Stepper2012-09-11 10:14:50 +0000
commit4b3b03933bb24f02c2a2e4bab841278121e348d1 (patch)
treed4d0d0e665683981b4918ddb897a20319886ca74 /plugins
parent331d1571faab283cfe17870af6c29fef78ab5e5b (diff)
downloadcdo-4b3b03933bb24f02c2a2e4bab841278121e348d1.tar.gz
cdo-4b3b03933bb24f02c2a2e4bab841278121e348d1.tar.xz
cdo-4b3b03933bb24f02c2a2e4bab841278121e348d1.zip
Use IPluginModelBase instead of IPluginModel. Same for IPluginBase.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.version.ui/src/org/eclipse/emf/cdo/releng/version/ui/actions/AddNatureAction.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.version.ui/src/org/eclipse/emf/cdo/releng/version/ui/actions/AddNatureAction.java b/plugins/org.eclipse.emf.cdo.releng.version.ui/src/org/eclipse/emf/cdo/releng/version/ui/actions/AddNatureAction.java
index f19c7d9dcd..52a37d7655 100644
--- a/plugins/org.eclipse.emf.cdo.releng.version.ui/src/org/eclipse/emf/cdo/releng/version/ui/actions/AddNatureAction.java
+++ b/plugins/org.eclipse.emf.cdo.releng.version.ui/src/org/eclipse/emf/cdo/releng/version/ui/actions/AddNatureAction.java
@@ -34,9 +34,8 @@ import org.eclipse.pde.core.IModel;
import org.eclipse.pde.core.build.IBuild;
import org.eclipse.pde.core.build.IBuildEntry;
import org.eclipse.pde.core.build.IBuildModel;
-import org.eclipse.pde.core.plugin.IPlugin;
+import org.eclipse.pde.core.plugin.IPluginBase;
import org.eclipse.pde.core.plugin.IPluginImport;
-import org.eclipse.pde.core.plugin.IPluginModel;
import org.eclipse.pde.core.plugin.IPluginModelBase;
import org.eclipse.pde.core.plugin.PluginRegistry;
@@ -123,8 +122,8 @@ public class AddNatureAction extends AbstractAction<IVersionBuilderArguments>
}
else
{
- IPlugin plugin = ((IPluginModel)componentModel).getPlugin();
- for (IPluginImport pluginImport : plugin.getImports())
+ IPluginBase pluginBase = ((IPluginModelBase)componentModel).getPluginBase();
+ for (IPluginImport pluginImport : pluginBase.getImports())
{
String importedPluginID = pluginImport.getId();
String version = pluginImport.getVersion();

Back to the top