Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Appel2008-04-22 13:30:30 +0000
committerFrank Appel2008-04-22 13:30:30 +0000
commit906c2143832777d7029fb9e0e421514f1acf6afc (patch)
tree4e5c18b2f21214bbc7be6a698a4d5332e733b3de /bundles/org.eclipse.rap.ui/schema
parent5f8c9f7fe8f4a347e5ae4a4f70a67f7f858a17c7 (diff)
downloadorg.eclipse.rap-906c2143832777d7029fb9e0e421514f1acf6afc.tar.gz
org.eclipse.rap-906c2143832777d7029fb9e0e421514f1acf6afc.tar.xz
org.eclipse.rap-906c2143832777d7029fb9e0e421514f1acf6afc.zip
code adaption to 3.4 (activities)
Diffstat (limited to 'bundles/org.eclipse.rap.ui/schema')
-rwxr-xr-xbundles/org.eclipse.rap.ui/schema/activitySupport.exsd31
1 files changed, 27 insertions, 4 deletions
diff --git a/bundles/org.eclipse.rap.ui/schema/activitySupport.exsd b/bundles/org.eclipse.rap.ui/schema/activitySupport.exsd
index 40c8013860..01d7c90776 100755
--- a/bundles/org.eclipse.rap.ui/schema/activitySupport.exsd
+++ b/bundles/org.eclipse.rap.ui/schema/activitySupport.exsd
@@ -126,14 +126,14 @@
<element name="triggerPointAdvisorProductBinding">
<annotation>
<documentation>
- Specifies a binding between a product and an advisor. These bindings determine which advisor is appropriate for the current product (as defined by &lt;code&gt;org.eclipse.core.runtime.Platform.getProduct()&lt;/code&gt;).
+ Specifies a binding between a &lt;b&gt;RAP branding&lt;/b&gt; and an advisor. These bindings determine which advisor is appropriate for the current RAP branding (as defined by the id-attribute of a branding extension).
</documentation>
</annotation>
<complexType>
<attribute name="productId" type="string" use="required">
<annotation>
<documentation>
- unique id of a product
+ unique id of a branding extension. To bind an advisor to the built-in branding use the value &quot;&lt;code&gt;org.eclipse.rap.rwt.branding.default&lt;/code&gt;&quot;.
</documentation>
</annotation>
</attribute>
@@ -237,15 +237,38 @@
&lt;/pre&gt;
&lt;/p&gt;
-The following is an example of a trigger point advisor bound to a particular product:
+The following is an example of a trigger point advisor bound to the default RAP branding, thus replacing the default &lt;code&gt;WorkbenchTriggerPointAdvisor&lt;/code&gt;:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.ui.activitySupport&quot;&gt;
+ &lt;triggerPointAdvisor
+ id=&quot;com.example.xyz.myTriggerPointAdvisor&quot;
+ class=&quot;com.example.xyz.AdvisorImpl&quot;/&gt;
+ &lt;triggerPointAdvisorProductBinding
+ productId=&quot;org.eclipse.rap.rwt.branding.default&quot;
+ triggerPointAdvisorId=&quot;com.example.xyz.myTriggerPointAdvisor&quot; /&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+
+The following is an example of a trigger point advisor bound to a particular RAP branding:
&lt;p&gt;
&lt;pre&gt;
+ &lt;extension
+ point=&quot;org.eclipse.rap.ui.branding&quot;&gt;
+ &lt;branding
+ favicon=&quot;icons/eclipse.gif&quot;
+ id=&quot;example.activity.branding1&quot;
+ servletName=&quot;rap2&quot;
+ title=&quot;Activity Example&quot;/&gt;
+ &lt;/extension&gt;
&lt;extension point=&quot;org.eclipse.ui.activitySupport&quot;&gt;
&lt;triggerPointAdvisor
id=&quot;com.example.xyz.myTriggerPointAdvisor&quot;
class=&quot;com.example.xyz.AdvisorImpl&quot;/&gt;
&lt;triggerPointAdvisorProductBinding
- productId=&quot;myProduct&quot;
+ productId=&quot;example.activity.branding1&quot;
triggerPointAdvisorId=&quot;com.example.xyz.myTriggerPointAdvisor&quot; /&gt;
&lt;/extension&gt;
&lt;/pre&gt;

Back to the top