Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhussey2007-04-04 22:16:25 +0000
committerkhussey2007-04-04 22:16:25 +0000
commitf0691ac13dbbdbfa34026eac042d7262191a0637 (patch)
tree22f1334e06fd6ea3cc2823bf63bb1bde786710f5 /plugins/org.eclipse.uml2.uml.ecore.exporter
parentf9cd264cc2a95b61cf9c2ec7fe5ec3becd60f8e6 (diff)
downloadorg.eclipse.uml2-f0691ac13dbbdbfa34026eac042d7262191a0637.tar.gz
org.eclipse.uml2-f0691ac13dbbdbfa34026eac042d7262191a0637.tar.xz
org.eclipse.uml2-f0691ac13dbbdbfa34026eac042d7262191a0637.zip
[105199] Adding converter options for invariant constraints and operation bodies.
Diffstat (limited to 'plugins/org.eclipse.uml2.uml.ecore.exporter')
-rw-r--r--plugins/org.eclipse.uml2.uml.ecore.exporter/plugin.properties6
-rw-r--r--plugins/org.eclipse.uml2.uml.ecore.exporter/src/org/eclipse/uml2/uml/ecore/exporter/ui/UMLExporterOptionsPage.java8
2 files changed, 11 insertions, 3 deletions
diff --git a/plugins/org.eclipse.uml2.uml.ecore.exporter/plugin.properties b/plugins/org.eclipse.uml2.uml.ecore.exporter/plugin.properties
index b8b1cb2f9..91e201b04 100644
--- a/plugins/org.eclipse.uml2.uml.ecore.exporter/plugin.properties
+++ b/plugins/org.eclipse.uml2.uml.ecore.exporter/plugin.properties
@@ -1,4 +1,4 @@
-# Copyright (c) 2007 IBM Corporation and others.
+# Copyright (c) 2006, 2007 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
@@ -7,7 +7,7 @@
# Contributors:
# IBM - initial API and implementation
#
-# $Id: plugin.properties,v 1.6 2007/01/03 20:32:10 khussey Exp $
+# $Id: plugin.properties,v 1.7 2007/04/04 22:16:25 khussey Exp $
# NLS_MESSAGEFORMAT_VAR
@@ -50,3 +50,5 @@ _UI_IgnoreAll_label = Ignore All
_UI_ProcessAll_label = Process All
_UI_ProblemsEncounteredProcessing_message = Problems were encountered processing the models
+
+_UI_BodyAnnotations_label = Body Annotations \ No newline at end of file
diff --git a/plugins/org.eclipse.uml2.uml.ecore.exporter/src/org/eclipse/uml2/uml/ecore/exporter/ui/UMLExporterOptionsPage.java b/plugins/org.eclipse.uml2.uml.ecore.exporter/src/org/eclipse/uml2/uml/ecore/exporter/ui/UMLExporterOptionsPage.java
index 716e0481a..e1abf7a2b 100644
--- a/plugins/org.eclipse.uml2.uml.ecore.exporter/src/org/eclipse/uml2/uml/ecore/exporter/ui/UMLExporterOptionsPage.java
+++ b/plugins/org.eclipse.uml2.uml.ecore.exporter/src/org/eclipse/uml2/uml/ecore/exporter/ui/UMLExporterOptionsPage.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: UMLExporterOptionsPage.java,v 1.3 2006/12/20 19:53:52 khussey Exp $
+ * $Id: UMLExporterOptionsPage.java,v 1.4 2007/04/04 22:16:25 khussey Exp $
*/
package org.eclipse.uml2.uml.ecore.exporter.ui;
@@ -164,6 +164,12 @@ public class UMLExporterOptionsPage
UMLUtil.UML2EcoreConverter.OPTION__ANNOTATION_DETAILS,
new String[]{ignoreChoiceLabel, reportChoiceLabel,
processChoiceLabel}, ignoreChoiceLabel);
+ addOptionControl(
+ optionsComposite,
+ UMLExporterPlugin.INSTANCE.getString("_UI_BodyAnnotations_label"), //$NON-NLS-1$
+ UMLUtil.Ecore2UMLConverter.OPTION__BODY_ANNOTATIONS,
+ new String[]{ignoreChoiceLabel, reportChoiceLabel,
+ processChoiceLabel}, ignoreChoiceLabel);
scrolledComposite.setContent(optionsComposite);
scrolledComposite.setExpandHorizontal(true);

Back to the top