Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-03-19 20:36:19 -0400
committerSusan Franklin2009-03-19 20:36:19 -0400
commit4bfa27bbad2b86a075edc68c6d81fd3c1088e0bb (patch)
tree8802a0943be1d7268bb1f3e358055c55fef33958 /examples
parentd071ed0a96b5112b88a235fe4afce05c162a97ed (diff)
downloadrt.equinox.p2-4bfa27bbad2b86a075edc68c6d81fd3c1088e0bb.tar.gz
rt.equinox.p2-4bfa27bbad2b86a075edc68c6d81fd3c1088e0bb.tar.xz
rt.equinox.p2-4bfa27bbad2b86a075edc68c6d81fd3c1088e0bb.zip
doc
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.cloud/src/org/eclipse/equinox/p2/examples/rcp/cloud/p2/CloudPolicy.java2
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/AllIUsAreVisiblePolicy.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud/src/org/eclipse/equinox/p2/examples/rcp/cloud/p2/CloudPolicy.java b/examples/org.eclipse.equinox.p2.examples.rcp.cloud/src/org/eclipse/equinox/p2/examples/rcp/cloud/p2/CloudPolicy.java
index 925bb63d0..bc962fb16 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.cloud/src/org/eclipse/equinox/p2/examples/rcp/cloud/p2/CloudPolicy.java
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud/src/org/eclipse/equinox/p2/examples/rcp/cloud/p2/CloudPolicy.java
@@ -15,7 +15,7 @@ import org.eclipse.equinox.internal.provisional.p2.ui.policy.Policy;
/**
* CloudPolicy defines the RCP Cloud Example policies for the p2 UI. The policy
- * is declared as an OSGi service in the policy_component.xml file.
+ * is registered as an OSGi service when the example bundle starts.
*
* @since 3.5
*/
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/AllIUsAreVisiblePolicy.java b/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/AllIUsAreVisiblePolicy.java
index c89c7b6c0..752421038 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/AllIUsAreVisiblePolicy.java
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/AllIUsAreVisiblePolicy.java
@@ -15,8 +15,9 @@ import org.eclipse.equinox.internal.provisional.p2.ui.policy.IUViewQueryContext;
import org.eclipse.equinox.internal.provisional.p2.ui.policy.Policy;
/**
- * CloudPolicy defines the RCP Cloud Example policies for the p2 UI. The policy
- * is declared as an OSGi service in the policy_component.xml file.
+ * AllIUsAreVisiblePolicy redefines the IU visibility. In this
+ * example, the policy is declared using OSGi declarative services.
+ * The declaration is in the policy_component.xml file.
*
* @since 3.5
*/

Back to the top