Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2008-11-13 23:48:49 +0000
committerSusan Franklin2008-11-13 23:48:49 +0000
commit154b5ef3f97a377660bfaf951e6e153107bcf685 (patch)
treeeb58e046b0baf3a915698d1ac8ddbf0352b1af38 /bundles/org.eclipse.equinox.p2.ui.admin
parent04fbe377707641cc8172c8872388fc34a8421229 (diff)
downloadrt.equinox.p2-154b5ef3f97a377660bfaf951e6e153107bcf685.tar.gz
rt.equinox.p2-154b5ef3f97a377660bfaf951e6e153107bcf685.tar.xz
rt.equinox.p2-154b5ef3f97a377660bfaf951e6e153107bcf685.zip
Bug 227784 - [ui] Need consistency in interface naming
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.admin')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProfilesView.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProfilesView.java b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProfilesView.java
index 7c95e887b..b50e61f52 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProfilesView.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProfilesView.java
@@ -23,7 +23,7 @@ import org.eclipse.equinox.internal.provisional.p2.ui.actions.UpdateAction;
import org.eclipse.equinox.internal.provisional.p2.ui.model.*;
import org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil;
import org.eclipse.equinox.internal.provisional.p2.ui.operations.RemoveProfilesOperation;
-import org.eclipse.equinox.internal.provisional.p2.ui.policy.ProfileChooser;
+import org.eclipse.equinox.internal.provisional.p2.ui.policy.IProfileChooser;
import org.eclipse.equinox.internal.provisional.p2.ui.viewers.*;
import org.eclipse.jface.action.*;
import org.eclipse.jface.viewers.*;
@@ -184,8 +184,8 @@ public class ProfilesView extends ProvView {
return new Profiles(ProvAdminUIActivator.getDefault().getPolicy());
}
- ProfileChooser getProfileChooser() {
- return new ProfileChooser() {
+ IProfileChooser getProfileChooser() {
+ return new IProfileChooser() {
public String getProfileId(Shell shell) {
Object firstElement = getSelection().getFirstElement();
if (firstElement instanceof InstalledIUElement) {
diff --git a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
index c928d9a60..f2d2048a7 100644
--- a/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
+++ b/bundles/org.eclipse.equinox.p2.ui.admin/src/org/eclipse/equinox/internal/p2/ui/admin/ProvAdminUIActivator.java
@@ -145,7 +145,7 @@ public class ProvAdminUIActivator extends AbstractUIPlugin {
return true;
}
});
- policy.setProfileChooser(new ProfileChooser() {
+ policy.setProfileChooser(new IProfileChooser() {
public String getProfileId(Shell shell) {
// TODO would be nice if the profile chooser dialog let you
// create a new profile

Back to the top