Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcelop2008-05-05 23:36:21 +0000
committermarcelop2008-05-05 23:36:21 +0000
commit7a1a6f33beeeb3e79403a1c3c08c2c5568de60ec (patch)
tree12d5e079ac5668694c78f51c5c40a57fa8a4dd2b /examples
parent435e54ca64a8303031088b1a81cdc7321b34fbdf (diff)
downloadorg.eclipse.emf-7a1a6f33beeeb3e79403a1c3c08c2c5568de60ec.tar.gz
org.eclipse.emf-7a1a6f33beeeb3e79403a1c3c08c2c5568de60ec.tar.xz
org.eclipse.emf-7a1a6f33beeeb3e79403a1c3c08c2c5568de60ec.zip
[188989] Enhancing the activities examples so that it can filter out the EMF examples.
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.emf.activities/plugin.properties18
-rw-r--r--examples/org.eclipse.emf.activities/plugin.xml11
2 files changed, 27 insertions, 2 deletions
diff --git a/examples/org.eclipse.emf.activities/plugin.properties b/examples/org.eclipse.emf.activities/plugin.properties
index cb178f826..6dfdec98e 100644
--- a/examples/org.eclipse.emf.activities/plugin.properties
+++ b/examples/org.eclipse.emf.activities/plugin.properties
@@ -1,7 +1,7 @@
# /**
# * <copyright>
# *
-# * Copyright (c) 2002-2008 IBM Corporation and others.
+# * Copyright (c) 2002-2004 IBM Corporation and others.
# * 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
@@ -12,11 +12,22 @@
# *
# * </copyright>
# *
-# * $Id: plugin.properties,v 1.7 2008/05/05 21:24:48 davidms Exp $
+# * $Id: plugin.properties,v 1.8 2008/05/05 23:36:21 marcelop Exp $
# */
# NLS_MESSAGEFORMAT_VAR
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
pluginName = EMF Activities Example
providerName = Eclipse.org
@@ -33,3 +44,6 @@ _UI_Activity_ReflectiveEditing_description = EMF provides two editors to manipul
_UI_Activity_XSD_name = XML Schema Editing (XSD)
_UI_Activity_XSD_description = XSD is a reference library for use with any code that examines, creates or modifies XML Schemas (stand-alone or as part of other artifacts, such as XForms or WSDL documents).
+
+_UI_Activity_Example_description = The EMF and XSD examples can be installed into the workspace via wizards located in the 'Example' category.
+_UI_Activity_Example_name = EMF and XSD Examples
diff --git a/examples/org.eclipse.emf.activities/plugin.xml b/examples/org.eclipse.emf.activities/plugin.xml
index 0b52a1f5b..45fcff627 100644
--- a/examples/org.eclipse.emf.activities/plugin.xml
+++ b/examples/org.eclipse.emf.activities/plugin.xml
@@ -27,6 +27,17 @@
<activityPatternBinding activityId="org.eclipse.EMF" pattern="org\.eclipse\.emf\.exporter/.*" />
</extension>
+ <!-- org.eclipse.emf.examples -->
+ <!-- Example Wizards -->
+ <extension point="org.eclipse.ui.activities">
+ <activity id="org.eclipse.emf.activities.Example" description="%_UI_Activity_Example_description" name="%_UI_Activity_Example_name" />
+ <categoryActivityBinding activityId="org.eclipse.emf.activities.Example" categoryId="org.eclipse.emf.categories.modelingCategory" />
+ <activityPatternBinding activityId="org.eclipse.emf.activities.Example" pattern="org\.eclipse\.emf\.example\.installer/.*" />
+ <activityPatternBinding activityId="org.eclipse.emf.activities.Example" pattern="org\.eclipse\.xsd\.example\.installer/.*" />
+ <activityPatternBinding activityId="org.eclipse.emf.activities.Example" pattern="org\.eclipse\.emf\.examples\.library\.editor/.*" />
+ <defaultEnablement id="org.eclipse.emf.activities.Example" />
+ </extension>
+
<!-- org.eclipse.emf.codegen.ui -->
<!-- Convert to JET Project wizard -->
<extension point="org.eclipse.ui.activities">

Back to the top