![JAR search and dependency download from the Maven repository](/logo.png)
schema.activitySupport.exsd Maven / Gradle / Ivy
The newest version!
<p>This extension point is used to register various support extensions relating to the activities infrastucture.
</p>
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
Specifies a trigger point. A trigger point is an identifer that is used by the activity engine to determine whether or not an action should cause the enablement of activities.
a unique identifier for this trigger point
<p>A hint represents some data that may be used by the eclipse infrastructure to determine the behaviour of the activity support relating to the hosting trigger point.</p>
<p>The following hints are "well known" and it is expected that trigger point advisors acknowledge them:
<dl>
<dt>interactive</dt><dd>Whether this trigger point is hint in an "interactive" way. Ie: it is the explicit result of an action undertaken by the user such as activating a wizard in the wizard dialog. Accepted values are <code>true</code> and <code>false</code></dd>
</dl>
</p>
a unique identifier for this hint
the value of this hint
A trigger point advisor is a policy mechanism that is consulted whenever the system undertakes an action that has disabled activities associated with it. It is the advisors responsibility to answer whether an action should proceed, and if it can, what activities to enable.
a unique identifier for this trigger point advisor
a fully qualified name of the class implementing the <code>org.eclipse.ui.activities.ITriggerPointAdvisor</code> interface.
Specifies a binding between a <b>RAP branding</b> 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).
unique id of a branding extension. To bind an advisor to the built-in branding use the value "<code>org.eclipse.rap.rwt.branding.default</code>".
unique id of a trigger point advisor
This element allows binding of icons to categories These icons may be used by user interface components that wish to visualize categories in some way.
the id of the category to bind an icon to
the name of the icon that will be used for this category
This element allows binding of icons to activities. These icons may be used by user interface components that wish to visualize activities in some way.
the id of the activity to bind an icon to
the name of the icon that will be used for this activity
3.1
The following is an example of a non-interactive trigger point:
<p>
<pre>
<extension point="org.eclipse.ui.activitySupport">
<triggerPoint
id="com.example.xyz.myTriggerPoint">
<hint id="interactive"
value="false" />
</triggerPoint>
</extension>
</pre>
</p>
The following is an example of a trigger point advisor bound to the default RAP branding, thus replacing the default <code>WorkbenchTriggerPointAdvisor</code>:
<p>
<pre>
<extension point="org.eclipse.ui.activitySupport">
<triggerPointAdvisor
id="com.example.xyz.myTriggerPointAdvisor"
class="com.example.xyz.AdvisorImpl"/>
<triggerPointAdvisorProductBinding
productId="org.eclipse.rap.rwt.branding.default"
triggerPointAdvisorId="com.example.xyz.myTriggerPointAdvisor" />
</extension>
</pre>
</p>
The following is an example of a trigger point advisor bound to a particular RAP branding:
<p>
<pre>
<extension
point="org.eclipse.rap.ui.branding">
<branding
favicon="icons/eclipse.gif"
id="example.activity.branding1"
servletName="rap2"
title="Activity Example"/>
</extension>
<extension point="org.eclipse.ui.activitySupport">
<triggerPointAdvisor
id="com.example.xyz.myTriggerPointAdvisor"
class="com.example.xyz.AdvisorImpl"/>
<triggerPointAdvisorProductBinding
productId="example.activity.branding1"
triggerPointAdvisorId="com.example.xyz.myTriggerPointAdvisor" />
</extension>
</pre>
</p>
The following is an example of binding images to activities and categories:
<p>
<pre>
<extension point="org.eclipse.ui.activitySupport">
<activityImageBinding
id="some.activity.id"
icon="icons/someIcon.gif"/>
<categoryImageBinding
id="some.category.id"
icon="icons/someIcon.gif"/>
</extension>
</pre>
</p>
The value of the <code>class</code> attribute of the triggerPointAdvisor tag must be the fully qualified name of a class that implements the <code>org.eclipse.ui.activities.ITriggerPointAdvisor</code>.
The workbench implementation (<code>org.eclipse.ui.activities.WorkbenchTriggerPointAdvisor</code>) is available for clients to subclass and reuse.
Copyright (c) 2005 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy