diff options
Diffstat (limited to 'plugins/facet/editor/org.eclipse.papyrus.emf.facet.doc/mediawiki/capabilities.html')
-rw-r--r-- | plugins/facet/editor/org.eclipse.papyrus.emf.facet.doc/mediawiki/capabilities.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.doc/mediawiki/capabilities.html b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.doc/mediawiki/capabilities.html new file mode 100644 index 00000000000..b8f6545fd89 --- /dev/null +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.doc/mediawiki/capabilities.html @@ -0,0 +1,58 @@ +<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>capabilities</title> + </head> + <body> + <h2 id="Definition">Definition</h2> + <p>EMF Facet currently defines an + <b>Activity</b> (aka + <b>Capability</b> in the UI) that allows enabling or disabling all of EMF Facet UI contributions: + </p> + <pre> <extension point="org.eclipse.ui.activities"> + <activity + description="%activity.description" + id="org.eclipse.emf.facet.capabilities.activity" + name="%activity.name"> + </activity> + <category + description="%category.description" + id="org.eclipse.emf.facet.capabilities.category" + name="%category.name"> + </category> + <categoryActivityBinding + activityId="org.eclipse.emf.facet.capabilities.activity" + categoryId="org.eclipse.emf.facet.capabilities.category"> + </categoryActivityBinding> + <activityPatternBinding + activityId="org.eclipse.emf.facet.capabilities.activity" + isEqualityPattern="false" + pattern="org\.eclipse\.emf\.facet\..*/.*"> + </activityPatternBinding> + <defaultEnablement id="org.eclipse.emf.facet.capabilities.activity"/> + </extension> +</pre> + <p>(in plug-in + <a href="https://dev.eclipse.org/svnroot/modeling/org.eclipse.emft.facet/trunk/plugins/org.eclipse.emf.facet.capabilities">https://dev.eclipse.org/svnroot/modeling/org.eclipse.emft.facet/trunk/plugins/org.eclipse.emf.facet.capabilities</a>) + </p> + <p>Product maintainers can use this definition as a starting point for customizing their product.</p> + <h2 id="Selective_Capabilities">Selective Capabilities</h2> + <p>Capabilities can be as selective as you want. For example, you can choose to disable certain EMF Facet views. For example, this disables the "new project" wizard:</p> + <pre> <activityPatternBinding + activityId="com.example.myActivity" + isEqualityPattern="true" + pattern="org.eclipse.emf.facet.infra.common.ui/org.eclipse.emf.facet.NewProjectWizard"> + </activityPatternBinding> +</pre> + <p><font size="-2"> + Copyright © 2012 Mia-Software. + 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>. +</font> + </p> + </body> +</html>
\ No newline at end of file |