Merge branch 'develop'
diff --git a/org.eclipse.rmf.ext.prostep/model/prostep.genmodel b/org.eclipse.rmf.ext.prostep/model/prostep.genmodel
index d6c04c7..6cb9bc7 100644
--- a/org.eclipse.rmf.ext.prostep/model/prostep.genmodel
+++ b/org.eclipse.rmf.ext.prostep/model/prostep.genmodel
@@ -6,8 +6,8 @@
testsDirectory="" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
copyrightFields="false" language="" operationReflection="true" importOrganizing="true">
<foreignModel>prostep.ecore</foreignModel>
- <genPackages prefix="Prostep" basePackage="org.eclipse.rmf.ext" resource="XML" disposableProviderFactory="true"
- ecorePackage="prostep.ecore#/">
+ <genPackages prefix="Prostep" basePackage="org.eclipse.rmf.ext" disposableProviderFactory="true"
+ fileExtensions="" ecorePackage="prostep.ecore#/">
<genClasses ecoreClass="prostep.ecore#//ExchangeConversation">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute prostep.ecore#//ExchangeConversation/identifier"/>
</genClasses>
diff --git a/org.eclipse.rmf.ext.prostep/plugin.xml b/org.eclipse.rmf.ext.prostep/plugin.xml
index b064b2e..0050c96 100644
--- a/org.eclipse.rmf.ext.prostep/plugin.xml
+++ b/org.eclipse.rmf.ext.prostep/plugin.xml
@@ -23,11 +23,4 @@
genModel="model/prostep.genmodel"/>
</extension>
- <extension point="org.eclipse.emf.ecore.extension_parser">
- <!-- @generated prostep -->
- <parser
- type="prostep"
- class="org.eclipse.rmf.ext.prostep.util.ProstepResourceFactoryImpl"/>
- </extension>
-
</plugin>
diff --git a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceFactoryImpl.java b/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceFactoryImpl.java
deleted file mode 100644
index 1c03a0a..0000000
--- a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceFactoryImpl.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Copyright (c) 2014 itemis AG 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Mark Broerkens - initial API and implementation
- *
- */
-package org.eclipse.rmf.ext.prostep.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.ext.prostep.util.ProstepResourceImpl
- * @generated
- */
-public class ProstepResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProstepResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new ProstepResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //ProstepResourceFactoryImpl
diff --git a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceImpl.java b/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceImpl.java
deleted file mode 100644
index 9eee499..0000000
--- a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepResourceImpl.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Copyright (c) 2014 itemis AG 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Mark Broerkens - initial API and implementation
- *
- */
-package org.eclipse.rmf.ext.prostep.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.ext.prostep.util.ProstepResourceFactoryImpl
- * @generated
- */
-public class ProstepResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public ProstepResourceImpl(URI uri) {
- super(uri);
- }
-
-} //ProstepResourceImpl
diff --git a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepXMLProcessor.java b/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepXMLProcessor.java
deleted file mode 100644
index e432912..0000000
--- a/org.eclipse.rmf.ext.prostep/src/org/eclipse/rmf/ext/prostep/util/ProstepXMLProcessor.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Copyright (c) 2014 itemis AG 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Mark Broerkens - initial API and implementation
- *
- */
-package org.eclipse.rmf.ext.prostep.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.rmf.ext.prostep.ProstepPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ProstepXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProstepXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- ProstepPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the ProstepResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new ProstepResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new ProstepResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //ProstepXMLProcessor
diff --git a/org.eclipse.rmf.releng.product/rmf-pror-standalone.product b/org.eclipse.rmf.releng.product/rmf-pror-standalone.product
index 9e5e776..7c0c172 100644
--- a/org.eclipse.rmf.releng.product/rmf-pror-standalone.product
+++ b/org.eclipse.rmf.releng.product/rmf-pror-standalone.product
@@ -23,7 +23,11 @@
</configIni>
<launcherArgs>
- <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ <vmArgs>-Dosgi.framework.extensions=org.eclipse.fx.osgi
+-Defxclipse.osgi.hook.debug=true
+ </vmArgs>
+ <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
+ </vmArgsMac>
</launcherArgs>
<windowImages i16="/org.eclipse.rmf.reqif10.pror.editor/icons/full/prorIcon/prorIcon16.png" i32="/org.eclipse.rmf.reqif10.pror.editor/icons/full/prorIcon/prorIcon32.png" i48="/org.eclipse.rmf.reqif10.pror.editor/icons/full/prorIcon/prorIcon48.png" i64="/org.eclipse.rmf.reqif10.pror.editor/icons/full/prorIcon/prorIcon64.png" i128="/org.eclipse.rmf.reqif10.pror.editor/icons/full/prorIcon/prorIcon128.png"/>
diff --git a/org.eclipse.rmf.releng.target/juno/juno-3.8.target b/org.eclipse.rmf.releng.target/juno/juno-3.8.target
index 7bdbc13..8d33c56 100644
--- a/org.eclipse.rmf.releng.target/juno/juno-3.8.target
+++ b/org.eclipse.rmf.releng.target/juno/juno-3.8.target
@@ -19,5 +19,9 @@
<unit id="org.eclipse.platform.sdk" version="3.8.2.M20130131-0800"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.8"/>
</location>
+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.sphinx.emf.serialization.feature.group" version="0.8.1.201409171422"/>
+<repository location="http://download.eclipse.org/sphinx/updates/releases/0.8.x"/>
+</location>
</locations>
</target>
diff --git a/org.eclipse.rmf.releng.target/juno/juno.target b/org.eclipse.rmf.releng.target/juno/juno.target
index c151a20..3395d1e 100644
--- a/org.eclipse.rmf.releng.target/juno/juno.target
+++ b/org.eclipse.rmf.releng.target/juno/juno.target
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.8"?><target name="JUNO_4_2_2" sequenceNumber="17">
+<?pde version="3.8"?><target name="JUNO_4_2_2" sequenceNumber="18">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.validation.sdk.feature.group" version="1.6.0.v20120328-0001-67T-96SGR75UNqZNTdeQnghI6uFA"/>
@@ -17,5 +17,9 @@
<unit id="org.apache.xerces" version="2.9.0.v201101211617"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20130827064939/repository/"/>
</location>
+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.sphinx.emf.serialization.feature.group" version="0.8.1.201409171422"/>
+<repository location="http://download.eclipse.org/sphinx/updates/releases/0.8.x"/>
+</location>
</locations>
</target>
diff --git a/org.eclipse.rmf.releng.target/kepler/kepler.target b/org.eclipse.rmf.releng.target/kepler/kepler.target
index b0bb2c1..228321b 100644
--- a/org.eclipse.rmf.releng.target/kepler/kepler.target
+++ b/org.eclipse.rmf.releng.target/kepler/kepler.target
@@ -16,5 +16,9 @@
<unit id="org.eclipse.emf.sdk.feature.group" version="2.9.1.v20130902-0605"/>
<repository location="http://download.eclipse.org/releases/kepler/"/>
</location>
+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.sphinx.emf.serialization.feature.group" version="0.8.1.201409171422"/>
+<repository location="http://download.eclipse.org/sphinx/updates/releases/0.8.x"/>
+</location>
</locations>
</target>
diff --git a/org.eclipse.rmf.releng.target/luna/luna.target b/org.eclipse.rmf.releng.target/luna/luna.target
index 126cfc6..ac2ddfc 100644
--- a/org.eclipse.rmf.releng.target/luna/luna.target
+++ b/org.eclipse.rmf.releng.target/luna/luna.target
@@ -18,5 +18,9 @@
<unit id="org.apache.poi" version="3.9.0.v201405241750"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository"/>
</location>
+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.sphinx.emf.serialization.feature.group" version="0.8.1.201409171422"/>
+<repository location="http://download.eclipse.org/sphinx/updates/releases/0.8.x"/>
+</location>
</locations>
</target>
diff --git a/org.eclipse.rmf.releng.target/mars/mars.target b/org.eclipse.rmf.releng.target/mars/mars.target
index 5abed5b..0c89d82 100644
--- a/org.eclipse.rmf.releng.target/mars/mars.target
+++ b/org.eclipse.rmf.releng.target/mars/mars.target
@@ -2,15 +2,15 @@
<?pde version="3.8"?><target name="MARS" sequenceNumber="22">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
-<unit id="org.eclipse.sdk.ide" version="4.5.0.I20140918-0330"/>
-<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.100.v20140918-0709"/>
+<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
+<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/eclipse/updates/4.5milestones"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
-<unit id="org.eclipse.emf.sdk.feature.group" version="2.11.0.v20140929-0830"/>
-<unit id="org.eclipse.emf.validation.sdk.feature.group" version="1.9.0.201409241438"/>
-<unit id="org.eclipse.xsd.sdk.feature.group" version="2.10.0.v20140929-0830"/>
-<repository location="http://download.eclipse.org/releases/staging"/>
+<unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.emf.validation.sdk.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.xsd.sdk.feature.group" version="0.0.0"/>
+<repository location="http://download.eclipse.org/releases/mars"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.guava" version="15.0.0.v201403281430"/>
@@ -18,5 +18,9 @@
<unit id="org.apache.poi" version="3.9.0.v201405241750"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository"/>
</location>
+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.sphinx.emf.serialization.feature.group" version="0.0.0"/>
+<repository location="http://download.eclipse.org/sphinx/updates/interim"/>
+</location>
</locations>
</target>
diff --git a/org.eclipse.rmf.releng/README.txt b/org.eclipse.rmf.releng/README.txt
index 431421b..6e121bb 100644
--- a/org.eclipse.rmf.releng/README.txt
+++ b/org.eclipse.rmf.releng/README.txt
@@ -1,3 +1,8 @@
Building RMF from the command line. Note that there is also a launch configuration in "launcher".
-mvn clean verify -P platform-indigo
+mvn clean verify -P platform-juno
+
+Tests take very long - to skip, add
+
+-Dmaven.test.skip=true
+
diff --git a/org.eclipse.rmf.releng/launcher/LUNA.launch b/org.eclipse.rmf.releng/launcher/LUNA.launch
index e4fe2ef..57217ad 100644
--- a/org.eclipse.rmf.releng/launcher/LUNA.launch
+++ b/org.eclipse.rmf.releng/launcher/LUNA.launch
@@ -4,7 +4,7 @@
<stringAttribute key="M2_GOALS" value="clean verify"/>
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
<booleanAttribute key="M2_OFFLINE" value="false"/>
-<stringAttribute key="M2_PROFILES" value="platform-kepler"/>
+<stringAttribute key="M2_PROFILES" value="platform-luna"/>
<listAttribute key="M2_PROPERTIES"/>
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
diff --git a/org.eclipse.rmf.releng/pom.xml b/org.eclipse.rmf.releng/pom.xml
index 27209e8..a953e89 100644
--- a/org.eclipse.rmf.releng/pom.xml
+++ b/org.eclipse.rmf.releng/pom.xml
@@ -67,7 +67,7 @@
<module>../org.eclipse.rmf.reqif10.common</module>
<module>../org.eclipse.rmf.reqif10.constraints</module>
<module>../org.eclipse.rmf.reqif10.serialization</module>
- <module>../org.eclipse.rmf.serialization</module>
+
<module>../org.eclipse.rmf.ext.prostep</module>
<module>../org.eclipse.rmf.reqif10.feature</module>
@@ -91,6 +91,7 @@
<module>../org.eclipse.rmf.reqif10.search</module>
<module>../org.eclipse.rmf.reqif10.search.edit</module>
<module>../org.eclipse.rmf.reqif10.search.ui</module>
+ <module>../org.eclipse.rmf.reqif10.search.test</module>
<module>../org.eclipse.rmf.reqif10.pror.genhtml</module>
<module>../org.eclipse.rmf.reqif10.csv.importer</module>
<module>../org.eclipse.rmf.reqif10.pror.feature</module>
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ProrXhtmlSimplifiedHelper.java b/org.eclipse.rmf.reqif10.common/src/org/eclipse/rmf/reqif10/common/util/ProrXhtmlSimplifiedHelper.java
similarity index 97%
rename from org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ProrXhtmlSimplifiedHelper.java
rename to org.eclipse.rmf.reqif10.common/src/org/eclipse/rmf/reqif10/common/util/ProrXhtmlSimplifiedHelper.java
index 5ce9c86..cc2085a 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ProrXhtmlSimplifiedHelper.java
+++ b/org.eclipse.rmf.reqif10.common/src/org/eclipse/rmf/reqif10/common/util/ProrXhtmlSimplifiedHelper.java
@@ -8,7 +8,7 @@
* Contributors:
* Lukas Ladenberger - initial API and implementation
******************************************************************************/
-package org.eclipse.rmf.reqif10.pror.util;
+package org.eclipse.rmf.reqif10.common.util;
import java.io.IOException;
import java.io.StringWriter;
@@ -21,7 +21,6 @@
import org.eclipse.emf.ecore.xmi.XMLResource;
import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
import org.eclipse.rmf.reqif10.XhtmlContent;
-import org.eclipse.rmf.reqif10.common.util.ReqIF10XhtmlUtil;
import org.eclipse.rmf.reqif10.xhtml.XhtmlDivType;
import org.eclipse.rmf.reqif10.xhtml.XhtmlFactory;
diff --git a/org.eclipse.rmf.reqif10.csv.importer/META-INF/MANIFEST.MF b/org.eclipse.rmf.reqif10.csv.importer/META-INF/MANIFEST.MF
index aa3d3a5..a8e0ec2 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.reqif10.csv.importer/META-INF/MANIFEST.MF
@@ -16,7 +16,6 @@
org.eclipse.emf.databinding.edit,
org.eclipse.core.databinding.property,
org.eclipse.rmf.reqif10.pror.editor;bundle-version="0.12.0",
- org.eclipse.rmf.reqif10.xhtml.edit;bundle-version="0.12.0",
- org.eclipse.rmf.serialization;bundle-version="0.12.0"
+ org.eclipse.sphinx.emf.serialization;bundle-version="0.8.1"
Bundle-ActivationPolicy: lazy
Bundle-Activator: org.eclipse.rmf.reqif10.csv.importer.CSVImporterPlugin$Implementation
diff --git a/org.eclipse.rmf.reqif10.csv.importer/about.html b/org.eclipse.rmf.reqif10.csv.importer/about.html
index c258ef5..3a8e6c6 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/about.html
+++ b/org.eclipse.rmf.reqif10.csv.importer/about.html
@@ -24,5 +24,17 @@
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+<h3>Third Party Content</h3>
+
+The Content includes items that have been sourced from third parties as set out below. If you did not receive this Content directly from the Eclipse Foundation, the following is provided for informational purposes only, and you should look to the Redistributor's license for terms and conditions of use.
+
+<h4>OpenCSV 1.8</h4>
+
+<p>The plug-in includes binaries of software developed by the <a href="http://opencsv.sourceforge.net">OpenCSV Project</a> ("Open CSV") at SourceForge.net.</p>
+
+<p>Your use of Open CSV is governed by the terms and conditions of the <a href="about_files/APACHE_LICENSE-2.0.html">Apache License 2.0</a>.</p>
+
+<p>The Open CSV source code can be downloaded from the <a href="http://downloads.sourceforge.net/opencsv/opencsv-1.8-src-with-libs.tar.gz?modtime=1185864370&big_mirror=0">Open CSV download area on SourceForge.net</a>.</p>
+
</body>
</html>
\ No newline at end of file
diff --git a/org.eclipse.rmf.reqif10.csv.importer/about_files/APACHE_LICENSE-2.0.html b/org.eclipse.rmf.reqif10.csv.importer/about_files/APACHE_LICENSE-2.0.html
new file mode 100644
index 0000000..4dd0005
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.csv.importer/about_files/APACHE_LICENSE-2.0.html
@@ -0,0 +1,188 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+ <head>
+ <title>Apache License, Version 2.0</title>
+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->
+ </head>
+
+ <body>
+ <div id="content" class="grid_16"><div class="section-content"><p>Apache License<br></br>Version 2.0, January 2004<br></br>
+<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a> </p>
+<p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
+<p><strong><a name="definitions">1. Definitions</a></strong>.</p>
+<p>"License" shall mean the terms and conditions for use, reproduction, and
+distribution as defined by Sections 1 through 9 of this document.</p>
+<p>"Licensor" shall mean the copyright owner or entity authorized by the
+copyright owner that is granting the License.</p>
+<p>"Legal Entity" shall mean the union of the acting entity and all other
+entities that control, are controlled by, or are under common control with
+that entity. For the purposes of this definition, "control" means (i) the
+power, direct or indirect, to cause the direction or management of such
+entity, whether by contract or otherwise, or (ii) ownership of fifty
+percent (50%) or more of the outstanding shares, or (iii) beneficial
+ownership of such entity.</p>
+<p>"You" (or "Your") shall mean an individual or Legal Entity exercising
+permissions granted by this License.</p>
+<p>"Source" form shall mean the preferred form for making modifications,
+including but not limited to software source code, documentation source,
+and configuration files.</p>
+<p>"Object" form shall mean any form resulting from mechanical transformation
+or translation of a Source form, including but not limited to compiled
+object code, generated documentation, and conversions to other media types.</p>
+<p>"Work" shall mean the work of authorship, whether in Source or Object form,
+made available under the License, as indicated by a copyright notice that
+is included in or attached to the work (an example is provided in the
+Appendix below).</p>
+<p>"Derivative Works" shall mean any work, whether in Source or Object form,
+that is based on (or derived from) the Work and for which the editorial
+revisions, annotations, elaborations, or other modifications represent, as
+a whole, an original work of authorship. For the purposes of this License,
+Derivative Works shall not include works that remain separable from, or
+merely link (or bind by name) to the interfaces of, the Work and Derivative
+Works thereof.</p>
+<p>"Contribution" shall mean any work of authorship, including the original
+version of the Work and any modifications or additions to that Work or
+Derivative Works thereof, that is intentionally submitted to Licensor for
+inclusion in the Work by the copyright owner or by an individual or Legal
+Entity authorized to submit on behalf of the copyright owner. For the
+purposes of this definition, "submitted" means any form of electronic,
+verbal, or written communication sent to the Licensor or its
+representatives, including but not limited to communication on electronic
+mailing lists, source code control systems, and issue tracking systems that
+are managed by, or on behalf of, the Licensor for the purpose of discussing
+and improving the Work, but excluding communication that is conspicuously
+marked or otherwise designated in writing by the copyright owner as "Not a
+Contribution."</p>
+<p>"Contributor" shall mean Licensor and any individual or Legal Entity on
+behalf of whom a Contribution has been received by Licensor and
+subsequently incorporated within the Work.</p>
+<p><strong><a name="copyright">2. Grant of Copyright License</a></strong>. Subject to the
+terms and conditions of this License, each Contributor hereby grants to You
+a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+copyright license to reproduce, prepare Derivative Works of, publicly
+display, publicly perform, sublicense, and distribute the Work and such
+Derivative Works in Source or Object form.</p>
+<p><strong><a name="patent">3. Grant of Patent License</a></strong>. Subject to the terms
+and conditions of this License, each Contributor hereby grants to You a
+perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+(except as stated in this section) patent license to make, have made, use,
+offer to sell, sell, import, and otherwise transfer the Work, where such
+license applies only to those patent claims licensable by such Contributor
+that are necessarily infringed by their Contribution(s) alone or by
+combination of their Contribution(s) with the Work to which such
+Contribution(s) was submitted. If You institute patent litigation against
+any entity (including a cross-claim or counterclaim in a lawsuit) alleging
+that the Work or a Contribution incorporated within the Work constitutes
+direct or contributory patent infringement, then any patent licenses
+granted to You under this License for that Work shall terminate as of the
+date such litigation is filed.</p>
+<p><strong><a name="redistribution">4. Redistribution</a></strong>. You may reproduce and
+distribute copies of the Work or Derivative Works thereof in any medium,
+with or without modifications, and in Source or Object form, provided that
+You meet the following conditions:</p>
+<ol style="list-style: lower-latin;">
+<li>You must give any other recipients of the Work or Derivative Works a
+copy of this License; and</li>
+
+<li>You must cause any modified files to carry prominent notices stating
+that You changed the files; and</li>
+
+<li>You must retain, in the Source form of any Derivative Works that You
+distribute, all copyright, patent, trademark, and attribution notices from
+the Source form of the Work, excluding those notices that do not pertain to
+any part of the Derivative Works; and</li>
+
+<li>If the Work includes a "NOTICE" text file as part of its distribution,
+then any Derivative Works that You distribute must include a readable copy
+of the attribution notices contained within such NOTICE file, excluding
+those notices that do not pertain to any part of the Derivative Works, in
+at least one of the following places: within a NOTICE text file distributed
+as part of the Derivative Works; within the Source form or documentation,
+if provided along with the Derivative Works; or, within a display generated
+by the Derivative Works, if and wherever such third-party notices normally
+appear. The contents of the NOTICE file are for informational purposes only
+and do not modify the License. You may add Your own attribution notices
+within Derivative Works that You distribute, alongside or as an addendum to
+the NOTICE text from the Work, provided that such additional attribution
+notices cannot be construed as modifying the License.
+<br/>
+<br/>
+You may add Your own copyright statement to Your modifications and may
+provide additional or different license terms and conditions for use,
+reproduction, or distribution of Your modifications, or for any such
+Derivative Works as a whole, provided Your use, reproduction, and
+distribution of the Work otherwise complies with the conditions stated in
+this License.
+</li>
+
+</ol>
+
+<p><strong><a name="contributions">5. Submission of Contributions</a></strong>. Unless You
+explicitly state otherwise, any Contribution intentionally submitted for
+inclusion in the Work by You to the Licensor shall be under the terms and
+conditions of this License, without any additional terms or conditions.
+Notwithstanding the above, nothing herein shall supersede or modify the
+terms of any separate license agreement you may have executed with Licensor
+regarding such Contributions.</p>
+<p><strong><a name="trademarks">6. Trademarks</a></strong>. This License does not grant
+permission to use the trade names, trademarks, service marks, or product
+names of the Licensor, except as required for reasonable and customary use
+in describing the origin of the Work and reproducing the content of the
+NOTICE file.</p>
+<p><strong><a name="no-warranty">7. Disclaimer of Warranty</a></strong>. Unless required by
+applicable law or agreed to in writing, Licensor provides the Work (and
+each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
+without limitation, any warranties or conditions of TITLE,
+NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
+are solely responsible for determining the appropriateness of using or
+redistributing the Work and assume any risks associated with Your exercise
+of permissions under this License.</p>
+<p><strong><a name="no-liability">8. Limitation of Liability</a></strong>. In no event and
+under no legal theory, whether in tort (including negligence), contract, or
+otherwise, unless required by applicable law (such as deliberate and
+grossly negligent acts) or agreed to in writing, shall any Contributor be
+liable to You for damages, including any direct, indirect, special,
+incidental, or consequential damages of any character arising as a result
+of this License or out of the use or inability to use the Work (including
+but not limited to damages for loss of goodwill, work stoppage, computer
+failure or malfunction, or any and all other commercial damages or losses),
+even if such Contributor has been advised of the possibility of such
+damages.</p>
+<p><strong><a name="additional">9. Accepting Warranty or Additional Liability</a></strong>.
+While redistributing the Work or Derivative Works thereof, You may choose
+to offer, and charge a fee for, acceptance of support, warranty, indemnity,
+or other liability obligations and/or rights consistent with this License.
+However, in accepting such obligations, You may act only on Your own behalf
+and on Your sole responsibility, not on behalf of any other Contributor,
+and only if You agree to indemnify, defend, and hold each Contributor
+harmless for any liability incurred by, or claims asserted against, such
+Contributor by reason of your accepting any such warranty or additional
+liability.</p>
+<p>END OF TERMS AND CONDITIONS</p>
+<h1 id="apply">APPENDIX: How to apply the Apache License to your work</h1>
+<p>To apply the Apache License to your work, attach the following boilerplate
+notice, with the fields enclosed by brackets "[]" replaced with your own
+identifying information. (Don't include the brackets!) The text should be
+enclosed in the appropriate comment syntax for the file format. We also
+recommend that a file or class name and description of purpose be included
+on the same "printed page" as the copyright notice for easier
+identification within third-party archives.</p>
+<div class="codehilite"><pre>Copyright [yyyy] [name of copyright owner]
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+</pre></div></div></div>
+ <div class="clear"></div>
+ </div>
+ </body>
+</html>
diff --git a/org.eclipse.rmf.reqif10.csv.importer/build.properties b/org.eclipse.rmf.reqif10.csv.importer/build.properties
index f36eb1d..5f6937a 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/build.properties
+++ b/org.eclipse.rmf.reqif10.csv.importer/build.properties
@@ -8,7 +8,8 @@
icons/,\
epl-v10.html,\
notice.html,\
- about.html
+ about.html,\
+ about_files/
jars.compile.order = .
source.. = src/
output.. = bin/
diff --git a/org.eclipse.rmf.reqif10.csv.importer/plugin.xml b/org.eclipse.rmf.reqif10.csv.importer/plugin.xml
index a1b369d..12fbc88 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/plugin.xml
+++ b/org.eclipse.rmf.reqif10.csv.importer/plugin.xml
@@ -31,7 +31,7 @@
point="org.eclipse.ui.importWizards">
<wizard
category="org.eclipse.rmf.pror.import.category"
- class="org.eclipse.rmf.reqif10.csv.importer.ui.wizards.CSVImportWziard"
+ class="org.eclipse.rmf.reqif10.csv.importer.ui.wizards.CSVImportWizard"
icon="icons/full/obj16/excel.png"
id="org.eclipse.rmf.reqif10.csv.importer.ui.wizard"
name="CSV">
diff --git a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWziard.java b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWizard.java
similarity index 95%
rename from org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWziard.java
rename to org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWizard.java
index 63b71db..156730d 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWziard.java
+++ b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/CSVImportWizard.java
@@ -34,7 +34,7 @@
import org.eclipse.rmf.reqif10.csv.importer.ui.wizards.pages.CSVMappingWizardPage;
import org.eclipse.rmf.reqif10.csv.importer.utils.Importer;
import org.eclipse.rmf.reqif10.csv.importer.utils.Utils;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10Editor;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IImportWizard;
@@ -42,12 +42,12 @@
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
-public class CSVImportWziard extends Wizard implements IImportWizard {
+public class CSVImportWizard extends Wizard implements IImportWizard {
private CSVImportWizardPage importWizardPage;
private CSVMappingWizardPage mappingWizardPage;
- public CSVImportWziard() {
+ public CSVImportWizard() {
setWindowTitle("CSV Import Wizard");
setNeedsProgressMonitor(true);
}
@@ -118,7 +118,7 @@
.getEditorReferences();
for (IEditorReference editorReference : editorReferences) {
IEditorPart editorPart = editorReference.getEditor(false);
- if (editorPart instanceof Reqif10Editor) {
+ if (editorPart instanceof IReqifEditor) {
try {
uriMap.put(EditUIUtil.getURI(editorReference
.getEditorInput()),
diff --git a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/pages/RightMappingPart.java b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/pages/RightMappingPart.java
index e30aaf6..c0fede2 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/pages/RightMappingPart.java
+++ b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/ui/wizards/pages/RightMappingPart.java
@@ -150,7 +150,7 @@
}
private void createColumnMappingComboViewer(Composite composite) {
- columnMappingComboViewer = createComboViewer("Column Mapping : ",
+ columnMappingComboViewer = createComboViewer("Column Mapping: ",
composite, columnMappingInput);
}
@@ -164,11 +164,11 @@
}
private void createAttributeNameTextWidget(Composite composite) {
- attributeNameTextWidget = createText("Attribute name", composite);
+ attributeNameTextWidget = createText("Attribute Name:", composite);
}
private void createDataTypeComboViewer(Composite composite) {
- dataTypeComboViewer = createComboViewer("Data Type : ", composite,
+ dataTypeComboViewer = createComboViewer("Data Type: ", composite,
DataType.values());
}
diff --git a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/utils/Utils.java b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/utils/Utils.java
index e7580af..e72db34 100644
--- a/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/utils/Utils.java
+++ b/org.eclipse.rmf.reqif10.csv.importer/src/org/eclipse/rmf/reqif10/csv/importer/utils/Utils.java
@@ -25,8 +25,7 @@
import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
import org.eclipse.rmf.reqif10.pror.configuration.provider.ConfigurationItemProviderAdapterFactory;
import org.eclipse.rmf.reqif10.pror.provider.ReqIF10ItemProviderAdapterFactory;
-import org.eclipse.rmf.reqif10.xhtml.provider.XhtmlItemProviderAdapterFactory;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceSetImpl;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResourceSetImpl;
import au.com.bytecode.opencsv.CSVReader;
@@ -56,7 +55,6 @@
.addAdapterFactory(new ResourceItemProviderAdapterFactory());
adapterFactory
.addAdapterFactory(new ReqIF10ItemProviderAdapterFactory());
- adapterFactory.addAdapterFactory(new XhtmlItemProviderAdapterFactory());
adapterFactory
.addAdapterFactory(new ConfigurationItemProviderAdapterFactory());
adapterFactory
diff --git a/org.eclipse.rmf.reqif10.feature/feature.xml b/org.eclipse.rmf.reqif10.feature/feature.xml
index 7036646..4a6e2e3 100644
--- a/org.eclipse.rmf.reqif10.feature/feature.xml
+++ b/org.eclipse.rmf.reqif10.feature/feature.xml
@@ -28,15 +28,12 @@
id="org.eclipse.rmf.reqif10.thirdparty.feature"
version="0.0.0"/>
- <plugin
- id="org.eclipse.rmf.reqif10"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
+ <requires>
+ <import feature="org.eclipse.sphinx.emf.serialization" version="0.8.1.201409171422" match="greaterOrEqual"/>
+ </requires>
<plugin
- id="org.eclipse.rmf.serialization"
+ id="org.eclipse.rmf.reqif10"
download-size="0"
install-size="0"
version="0.0.0"
diff --git a/org.eclipse.rmf.reqif10.pror.edit/META-INF/MANIFEST.MF b/org.eclipse.rmf.reqif10.pror.edit/META-INF/MANIFEST.MF
index 8df6512..766a132 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.reqif10.pror.edit/META-INF/MANIFEST.MF
@@ -8,9 +8,10 @@
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.rmf.reqif10.pror.configuration.provider,or
- g.eclipse.rmf.reqif10.pror.edit.presentation.service,org.eclipse.rmf.
- reqif10.pror.provider,org.eclipse.rmf.reqif10.pror.util
+Export-Package: org.eclipse.rmf.reqif10.pror.configuration.provider,
+ org.eclipse.rmf.reqif10.pror.edit.presentation.service,
+ org.eclipse.rmf.reqif10.pror.provider,
+ org.eclipse.rmf.reqif10.pror.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.edit;visibility:=reexport,
org.eclipse.emf.ecore;visibility:=reexport,
diff --git a/org.eclipse.rmf.reqif10.pror.edit/icons/full/obj16/UnifiedColumn.png b/org.eclipse.rmf.reqif10.pror.edit/icons/full/obj16/UnifiedColumn.png
new file mode 100644
index 0000000..155a22b
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.edit/icons/full/obj16/UnifiedColumn.png
Binary files differ
diff --git a/org.eclipse.rmf.reqif10.pror.edit/plugin.properties b/org.eclipse.rmf.reqif10.pror.edit/plugin.properties
index 00f946f..45e0142 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/plugin.properties
+++ b/org.eclipse.rmf.reqif10.pror.edit/plugin.properties
@@ -1714,3 +1714,4 @@
_UI_ReqIFToolExtension_extensions_feature = Extensions
_UI_XhtmlContent_xhtml_feature = Xhtml
_UI_XhtmlContent_xhtmlSource_feature = Xhtml Source
+_UI_UnifiedColumn_type = Unified Column
diff --git a/org.eclipse.rmf.reqif10.pror.edit/plugin.xml b/org.eclipse.rmf.reqif10.pror.edit/plugin.xml
index fc3348a..57e178c 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/plugin.xml
+++ b/org.eclipse.rmf.reqif10.pror.edit/plugin.xml
@@ -30,13 +30,17 @@
org.eclipse.emf.edit.provider.IItemPropertySource"/>
</extension>
-<!--
-TODO reactivate!
- <extension
- point="org.eclipse.rmf.reqif10.resource.reqiftoolextension">
- <reqiftoolextension
- class="org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl">
- </reqiftoolextension>
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <!-- @generated reqif10 -->
+ <factory
+ uri="http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
+ class="org.eclipse.rmf.reqif10.pror.provider.ReqIF10ItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
</extension>
--->
+
</plugin>
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ColumnItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ColumnItemProvider.java
index e58a1ce..8a9ded4 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ColumnItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ColumnItemProvider.java
@@ -13,7 +13,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
@@ -29,7 +28,6 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.pror.configuration.Column;
import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ConfigurationItemProviderAdapterFactory.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ConfigurationItemProviderAdapterFactory.java
index 0ebe33d..e75769f 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ConfigurationItemProviderAdapterFactory.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ConfigurationItemProviderAdapterFactory.java
@@ -214,6 +214,29 @@
}
/**
+ * This keeps track of the one adapter used for all {@link org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UnifiedColumnItemProvider unifiedColumnItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createUnifiedColumnAdapter() {
+ if (unifiedColumnItemProvider == null) {
+ unifiedColumnItemProvider = new UnifiedColumnItemProvider(this);
+ }
+
+ return unifiedColumnItemProvider;
+ }
+
+ /**
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrSpecViewConfigurationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrSpecViewConfigurationItemProvider.java
index 4aed386..5756a2f 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrSpecViewConfigurationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrSpecViewConfigurationItemProvider.java
@@ -179,8 +179,9 @@
* This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
* that can be created under this object.
* <!-- begin-user-doc -->
+ * We do not allow the creation of the unified column this way.
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrToolExtensionItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrToolExtensionItemProvider.java
index 3b39082..2d2813c 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrToolExtensionItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/ProrToolExtensionItemProvider.java
@@ -14,7 +14,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
@@ -30,7 +29,6 @@
import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
-import org.eclipse.rmf.reqif10.pror.provider.ReqIFToolExtensionItemProvider;
import org.eclipse.rmf.reqif10.pror.provider.Reqif10EditPlugin;
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/UnifiedColumnItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/UnifiedColumnItemProvider.java
new file mode 100644
index 0000000..ff7ced5
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/configuration/provider/UnifiedColumnItemProvider.java
@@ -0,0 +1,109 @@
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class UnifiedColumnItemProvider extends ColumnItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UnifiedColumnItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns UnifiedColumn.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/UnifiedColumn.png"));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((UnifiedColumn)object).getLabel();
+ return label == null || label.length() == 0 ?
+ getString("_UI_UnifiedColumn_type") :
+ getString("_UI_UnifiedColumn_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionBooleanItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionBooleanItemProvider.java
index 4ccb4a6..b1dfbd0 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionBooleanItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionBooleanItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionBoolean;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -35,13 +29,7 @@
* @generated
*/
public class AttributeDefinitionBooleanItemProvider
- extends AttributeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionDateItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionDateItemProvider.java
index 289cede..23596f9 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionDateItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionDateItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionDate;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -35,13 +29,7 @@
* @generated
*/
public class AttributeDefinitionDateItemProvider
- extends AttributeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionEnumerationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionEnumerationItemProvider.java
index ffc865b..124963c 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionEnumerationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionEnumerationItemProvider.java
@@ -14,17 +14,11 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionEnumeration;
@@ -38,13 +32,7 @@
* @generated
*/
public class AttributeDefinitionEnumerationItemProvider
- extends AttributeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionIntegerItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionIntegerItemProvider.java
index 158251d..ec244e9 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionIntegerItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionIntegerItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionInteger;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -35,13 +29,7 @@
* @generated
*/
public class AttributeDefinitionIntegerItemProvider
- extends AttributeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionRealItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionRealItemProvider.java
index f531109..a5688ad 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionRealItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionRealItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionReal;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -35,13 +29,7 @@
* @generated
*/
public class AttributeDefinitionRealItemProvider
- extends AttributeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionSimpleItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionSimpleItemProvider.java
index 69fbdb3..0957049 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionSimpleItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionSimpleItemProvider.java
@@ -15,7 +15,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
import org.eclipse.emf.common.notify.AdapterFactory;
@@ -26,12 +25,7 @@
import org.eclipse.emf.edit.command.CommandParameter;
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator;
import org.eclipse.rmf.reqif10.AttributeDefinition;
import org.eclipse.rmf.reqif10.AttributeDefinitionSimple;
@@ -56,13 +50,7 @@
* @generated
*/
public class AttributeDefinitionSimpleItemProvider
- extends AttributeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionItemProvider {
protected AttributeValueSimple defaultAttributeValueSimple = null;
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionStringItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionStringItemProvider.java
index 905c3c8..563d601 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionStringItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionStringItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionString;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -35,13 +29,7 @@
* @generated
*/
public class AttributeDefinitionStringItemProvider
- extends AttributeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionXHTMLItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionXHTMLItemProvider.java
index 3322c81..40f589b 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionXHTMLItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeDefinitionXHTMLItemProvider.java
@@ -14,17 +14,11 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinitionXHTML;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
@@ -37,13 +31,7 @@
* @generated
*/
public class AttributeDefinitionXHTMLItemProvider
- extends AttributeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeDefinitionItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueBooleanItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueBooleanItemProvider.java
index 33a6ed1..1b38bff 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueBooleanItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueBooleanItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueBoolean;
@@ -36,13 +30,7 @@
* @generated
*/
public class AttributeValueBooleanItemProvider
- extends AttributeValueSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueDateItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueDateItemProvider.java
index e42cee9..f7e0fa7 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueDateItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueDateItemProvider.java
@@ -20,12 +20,7 @@
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueDate;
@@ -38,13 +33,7 @@
* @generated
*/
public class AttributeValueDateItemProvider
- extends AttributeValueSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueEnumerationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueEnumerationItemProvider.java
index 8c43fdc..3b99fe8 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueEnumerationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueEnumerationItemProvider.java
@@ -27,12 +27,7 @@
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.rmf.reqif10.AttributeValueEnumeration;
import org.eclipse.rmf.reqif10.Identifiable;
import org.eclipse.rmf.reqif10.ReqIF10Package;
@@ -46,13 +41,7 @@
* @generated
*/
public class AttributeValueEnumerationItemProvider
- extends AttributeValueItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueIntegerItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueIntegerItemProvider.java
index 7c2fec7..f212ab0 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueIntegerItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueIntegerItemProvider.java
@@ -15,16 +15,10 @@
import java.math.BigInteger;
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueInteger;
@@ -37,13 +31,7 @@
* @generated
*/
public class AttributeValueIntegerItemProvider
- extends AttributeValueSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueRealItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueRealItemProvider.java
index 234b259..6fea185 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueRealItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueRealItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueReal;
@@ -36,13 +30,7 @@
* @generated
*/
public class AttributeValueRealItemProvider
- extends AttributeValueSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueSimpleItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueSimpleItemProvider.java
index bf31d08..4bb0839 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueSimpleItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueSimpleItemProvider.java
@@ -14,15 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.AttributeValueSimple} object.
@@ -31,13 +25,7 @@
* @generated
*/
public class AttributeValueSimpleItemProvider
- extends AttributeValueItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueStringItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueStringItemProvider.java
index 4ad52e1..0569827 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueStringItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueStringItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueString;
@@ -36,13 +30,7 @@
* @generated
*/
public class AttributeValueStringItemProvider
- extends AttributeValueSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueXHTMLItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueXHTMLItemProvider.java
index af06a18..ef6e25e 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueXHTMLItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/AttributeValueXHTMLItemProvider.java
@@ -14,17 +14,11 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeValueXHTML;
@@ -38,13 +32,7 @@
* @generated
*/
public class AttributeValueXHTMLItemProvider
- extends AttributeValueItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends AttributeValueItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionBooleanItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionBooleanItemProvider.java
index cebb9af..c31f83c 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionBooleanItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionBooleanItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.DatatypeDefinitionBoolean;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.DatatypeDefinitionBoolean} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class DatatypeDefinitionBooleanItemProvider
- extends DatatypeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionDateItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionDateItemProvider.java
index fc9b788..901ae98 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionDateItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionDateItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.DatatypeDefinitionDate;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.DatatypeDefinitionDate} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class DatatypeDefinitionDateItemProvider
- extends DatatypeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionEnumerationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionEnumerationItemProvider.java
index f3e6dcc..9aaa115 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionEnumerationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionEnumerationItemProvider.java
@@ -14,7 +14,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
@@ -22,12 +21,7 @@
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.command.DragAndDropFeedback;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.DatatypeDefinitionEnumeration;
import org.eclipse.rmf.reqif10.EmbeddedValue;
@@ -44,13 +38,7 @@
* @generated
*/
public class DatatypeDefinitionEnumerationItemProvider
- extends DatatypeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionIntegerItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionIntegerItemProvider.java
index 17fcef9..daf9a29 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionIntegerItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionIntegerItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.DatatypeDefinitionInteger;
@@ -36,13 +30,7 @@
* @generated
*/
public class DatatypeDefinitionIntegerItemProvider
- extends DatatypeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionItemProvider.java
index 497a7da..9354e62 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionItemProvider.java
@@ -14,15 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.rmf.reqif10.DatatypeDefinition;
import org.eclipse.rmf.reqif10.ReqIFContent;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
@@ -34,13 +28,7 @@
* @generated
*/
public class DatatypeDefinitionItemProvider
- extends IdentifiableItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends IdentifiableItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionRealItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionRealItemProvider.java
index 5e74281..73923f3 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionRealItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionRealItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.DatatypeDefinitionReal;
@@ -36,13 +30,7 @@
* @generated
*/
public class DatatypeDefinitionRealItemProvider
- extends DatatypeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionSimpleItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionSimpleItemProvider.java
index 6897698..5f1497e 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionSimpleItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionSimpleItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.DatatypeDefinitionSimple;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.DatatypeDefinitionSimple} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class DatatypeDefinitionSimpleItemProvider
- extends DatatypeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionStringItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionStringItemProvider.java
index 9fa4228..30d9af5 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionStringItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionStringItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.DatatypeDefinitionString;
@@ -36,13 +30,7 @@
* @generated
*/
public class DatatypeDefinitionStringItemProvider
- extends DatatypeDefinitionSimpleItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionSimpleItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionXHTMLItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionXHTMLItemProvider.java
index aacea54..69b987a 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionXHTMLItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/DatatypeDefinitionXHTMLItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.DatatypeDefinitionXHTML;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.DatatypeDefinitionXHTML} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class DatatypeDefinitionXHTMLItemProvider
- extends DatatypeDefinitionItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends DatatypeDefinitionItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/EnumValueItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/EnumValueItemProvider.java
index d347342..a512e7a 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/EnumValueItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/EnumValueItemProvider.java
@@ -14,16 +14,10 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.EnumValue;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
@@ -36,13 +30,7 @@
* @generated
*/
public class EnumValueItemProvider
- extends IdentifiableItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends IdentifiableItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/RelationGroupTypeItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/RelationGroupTypeItemProvider.java
index cfb2d7b..85272f7 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/RelationGroupTypeItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/RelationGroupTypeItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.RelationGroupType;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.RelationGroupType} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class RelationGroupTypeItemProvider
- extends SpecTypeItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecTypeItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/ReqIFItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/ReqIFItemProvider.java
index 21fef0e..fa419b7 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/ReqIFItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/ReqIFItemProvider.java
@@ -14,7 +14,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.AbstractCommand;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
@@ -38,7 +37,6 @@
import org.eclipse.rmf.reqif10.ReqIF10Factory;
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.common.util.ReqIFToolExtensionUtil;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
/**
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecHierarchyItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecHierarchyItemProvider.java
index 7d10b28..f7a1e45 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecHierarchyItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecHierarchyItemProvider.java
@@ -15,12 +15,10 @@
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPEC_HIERARCHY__CHILDREN;
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPEC_HIERARCHY__OBJECT;
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPEC_OBJECT__TYPE;
-
import java.util.ArrayList;
import java.util.Collection;
import java.util.GregorianCalendar;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
import org.eclipse.emf.common.command.UnexecutableCommand;
@@ -33,12 +31,7 @@
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
@@ -61,9 +54,7 @@
* @generated
*/
public class SpecHierarchyItemProvider extends
- AccessControlledElementItemProvider implements
- IEditingDomainItemProvider, IStructuredItemContentProvider,
- ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ AccessControlledElementItemProvider {
/**
* This constructs an instance from a factory and a notifier. <!--
* begin-user-doc --> <!-- end-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectItemProvider.java
index 3b62a08..94b432e 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectItemProvider.java
@@ -14,7 +14,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
@@ -27,12 +26,7 @@
import org.eclipse.emf.edit.command.DragAndDropFeedback;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator;
import org.eclipse.emf.edit.provider.ViewerNotification;
@@ -52,13 +46,7 @@
* @generated
*/
public class SpecObjectItemProvider
- extends SpecElementWithAttributesItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecElementWithAttributesItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectTypeItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectTypeItemProvider.java
index d9f27ca..90916f5 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectTypeItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecObjectTypeItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.SpecObjectType;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.SpecObjectType} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class SpecObjectTypeItemProvider
- extends SpecTypeItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecTypeItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationItemProvider.java
index 4877e7e..8f96b57 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationItemProvider.java
@@ -14,17 +14,11 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.ReqIFContent;
@@ -38,13 +32,7 @@
* @generated
*/
public class SpecRelationItemProvider
- extends SpecElementWithAttributesItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecElementWithAttributesItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationTypeItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationTypeItemProvider.java
index 50be04e..d8482e0 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationTypeItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecRelationTypeItemProvider.java
@@ -14,16 +14,9 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.SpecRelationType;
/**
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.SpecRelationType} object.
@@ -32,13 +25,7 @@
* @generated
*/
public class SpecRelationTypeItemProvider
- extends SpecTypeItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecTypeItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecTypeItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecTypeItemProvider.java
index 718e9ec..b61cefe 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecTypeItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecTypeItemProvider.java
@@ -15,7 +15,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Set;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
import org.eclipse.emf.common.notify.AdapterFactory;
@@ -25,12 +24,7 @@
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.AttributeDefinition;
import org.eclipse.rmf.reqif10.ReqIF;
@@ -52,9 +46,7 @@
* end-user-doc -->
* @generated
*/
-public class SpecTypeItemProvider extends IdentifiableItemProvider implements
- IEditingDomainItemProvider, IStructuredItemContentProvider,
- ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+public class SpecTypeItemProvider extends IdentifiableItemProvider {
/**
* This constructs an instance from a factory and a notifier. <!--
* begin-user-doc --> <!-- end-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationItemProvider.java
index 474b019..31fa7bf 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationItemProvider.java
@@ -16,10 +16,8 @@
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPECIFICATION__TYPE;
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPEC_HIERARCHY__OBJECT;
import static org.eclipse.rmf.reqif10.ReqIF10Package.Literals.SPEC_OBJECT__TYPE;
-
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
import org.eclipse.emf.common.notify.AdapterFactory;
@@ -30,12 +28,7 @@
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.rmf.reqif10.Identifiable;
import org.eclipse.rmf.reqif10.ReqIF10Factory;
@@ -56,13 +49,7 @@
* @generated
*/
public class SpecificationItemProvider
- extends SpecElementWithAttributesItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecElementWithAttributesItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationTypeItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationTypeItemProvider.java
index 4d5c41a..440f811 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationTypeItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/SpecificationTypeItemProvider.java
@@ -14,7 +14,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
@@ -22,13 +21,7 @@
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.command.DragAndDropFeedback;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.rmf.reqif10.SpecificationType;
import org.eclipse.rmf.reqif10.Identifiable;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
@@ -39,13 +32,7 @@
* @generated
*/
public class SpecificationTypeItemProvider
- extends SpecTypeItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
+ extends SpecTypeItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/XhtmlContentItemProvider.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/XhtmlContentItemProvider.java
index 36f32f0..7dc1cda 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/XhtmlContentItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/provider/XhtmlContentItemProvider.java
@@ -11,7 +11,6 @@
import java.util.Collection;
import java.util.List;
-
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
@@ -34,7 +33,6 @@
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.XhtmlContent;
import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
-import org.eclipse.rmf.reqif10.xhtml.XhtmlFactory;
/*******************************************************************************
* Copyright (c) 2011 Formal Mind GmbH and University of Dusseldorf.
diff --git a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ConfigurationUtil.java b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ConfigurationUtil.java
index 8b14321..1f813a0 100644
--- a/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ConfigurationUtil.java
+++ b/org.eclipse.rmf.reqif10.pror.edit/src/org/eclipse/rmf/reqif10/pror/util/ConfigurationUtil.java
@@ -10,6 +10,7 @@
******************************************************************************/
package org.eclipse.rmf.reqif10.pror.util;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
@@ -34,9 +35,11 @@
import org.eclipse.rmf.reqif10.ReqIF;
import org.eclipse.rmf.reqif10.SpecElementWithAttributes;
import org.eclipse.rmf.reqif10.SpecHierarchy;
+import org.eclipse.rmf.reqif10.SpecObjectType;
import org.eclipse.rmf.reqif10.SpecType;
import org.eclipse.rmf.reqif10.Specification;
import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
import org.eclipse.rmf.reqif10.common.util.ReqIFToolExtensionUtil;
import org.eclipse.rmf.reqif10.pror.configuration.Column;
@@ -296,14 +299,16 @@
specViewConfig.setSpecification(specification);
// Collect all Types
- final Set<SpecType> types = new HashSet<SpecType>();
+
+ final List<SpecType> types = new ArrayList<SpecType>();
ReqIF10Switch<SpecHierarchy> visitor = new ReqIF10Switch<SpecHierarchy>() {
@Override
public SpecHierarchy caseSpecHierarchy(SpecHierarchy specHierarchy) {
- if (specHierarchy.getObject() != null
- && specHierarchy.getObject().getType() != null) {
- // Duplicates will disappear due to HashSet
- types.add(specHierarchy.getObject().getType());
+ if (specHierarchy.getObject() != null) {
+ SpecObjectType type = specHierarchy.getObject().getType();
+ if (type != null && !types.contains(type)) {
+ types.add(type);
+ }
}
return specHierarchy;
}
@@ -312,25 +317,40 @@
for (Iterator<EObject> i = EcoreUtil
.getAllContents(specification, true); i.hasNext();) {
visitor.doSwitch(i.next());
- // we only explore the first 100 elements for performance.
- if (counter++ == 100)
+ // we only explore the first 50 elements for performance.
+ if (counter++ == 50)
break;
}
- // Collect all names from the types
- final Set<String> colnames = new HashSet<String>();
+
+ // Collect all names from the types. We use a list to maintain order.
+ final List<String> colNames = new ArrayList<String>();
for (SpecType type : types) {
for (AttributeDefinition ad : type.getSpecAttributes()) {
- // Duplicates will disappear due to HashSet
- colnames.add(ad.getLongName());
+
+ String colName = ad.getLongName();
+ if (colName != null && !colNames.contains(colName)) {
+ colNames.add(ad.getLongName());
+ }
}
}
+
// Build all Columns from the names
- for (String colname : colnames) {
+ boolean unifiedColumn = false;
+ for (String colName : colNames) {
Column column = ConfigurationFactory.eINSTANCE.createColumn();
+
+ // See whether we need a unified column or not.
+ if (colName.equals("ReqIF.Text") || colName.equals("ReqIF.ChapterName")) {
+ if (unifiedColumn) continue;
+ column = ConfigurationFactory.eINSTANCE.createUnifiedColumn();
+ colName = "Main";
+ unifiedColumn = true;
+ }
+
column.setWidth(100);
- column.setLabel(colname);
+ column.setLabel(colName);
specViewConfig.getColumns().add(column);
}
domain.getCommandStack()
diff --git a/org.eclipse.rmf.reqif10.pror.editor/META-INF/MANIFEST.MF b/org.eclipse.rmf.reqif10.pror.editor/META-INF/MANIFEST.MF
index e991209..14d0e6a 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.reqif10.pror.editor/META-INF/MANIFEST.MF
@@ -7,22 +7,22 @@
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.rmf.reqif10.pror.editor.agilegrid,org.ecli
- pse.rmf.reqif10.pror.editor.presentation,org.eclipse.rmf.reqif10.pror
- .editor.presentation.service,org.eclipse.rmf.reqif10.pror.editor.prop
- ertiesview,org.eclipse.rmf.reqif10.pror.editor.util
+Export-Package: org.eclipse.rmf.reqif10.pror.editor,
+ org.eclipse.rmf.reqif10.pror.editor.agilegrid,
+ org.eclipse.rmf.reqif10.pror.editor.presentation,
+ org.eclipse.rmf.reqif10.pror.editor.presentation.service,
+ org.eclipse.rmf.reqif10.pror.editor.propertiesview,
+ org.eclipse.rmf.reqif10.pror.editor.util
Require-Bundle: org.eclipse.core.runtime;visibility:=reexport,
org.eclipse.ui.ide;visibility:=reexport,
org.eclipse.ui.forms,
- org.eclipse.rmf.reqif10.pror.edit;bundle-version="0.9.0";visibility:=reexport,
+ org.eclipse.rmf.reqif10.pror.edit;bundle-version="0.12.0";visibility:=reexport,
org.eclipse.core.resources;visibility:=reexport,
org.eclipse.emf.edit.ui;visibility:=reexport,
org.agilemore.agilegrid;bundle-version="1.3.3";visibility:=reexport,
- org.eclipse.rmf.serialization;bundle-version="0.9.0",
- org.eclipse.ui.navigator,
com.google.guava,
org.eclipse.core.filesystem;bundle-version="1.3.100",
- org.eclipse.rmf.reqif10.xhtml;bundle-version="0.9.0",
- org.eclipse.rmf.reqif10.serialization;bundle-version="0.9.0",
- org.eclipse.rmf.reqif10.xhtml.edit;bundle-version="0.9.0"
+ org.eclipse.rmf.reqif10.serialization;bundle-version="0.12.0",
+ org.eclipse.rmf.reqif10.xhtml.edit;bundle-version="0.12.0",
+ org.eclipse.sphinx.emf.serialization;bundle-version="0.8.1"
Bundle-ActivationPolicy: lazy
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/IReqifEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/IReqifEditor.java
new file mode 100644
index 0000000..cfd6a66
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/IReqifEditor.java
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2015 Formal Mind GmbH.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Michael Jastram - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.rmf.reqif10.pror.editor;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.rmf.reqif10.ReqIF;
+import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.ui.IEditorPart;
+
+/**
+ * This interface must be implemented by all editors for ReqIF files.
+ *
+ * @author jastram
+ */
+public interface IReqifEditor extends IEditorPart, IEditingDomainProvider, ISelectionProvider {
+
+ public ReqIF getReqif();
+
+ public AdapterFactory getAdapterFactory();
+
+ public EditingDomainActionBarContributor getActionBarContributor();
+
+ public ISpecificationEditor openSpecEditor(Specification spec);
+}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/ISpecificationEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/ISpecificationEditor.java
new file mode 100644
index 0000000..ce387c9
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/ISpecificationEditor.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2015 Formal Mind GmbH.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Michael Jastram - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.rmf.reqif10.pror.editor;
+
+import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.pror.filter.ReqifFilter;
+
+/**
+ * This interface must be implemented by all editors for ReqIF Specifications.
+ *
+ * @author jastram
+ */
+public interface ISpecificationEditor extends IReqifEditor {
+
+ /**
+ * Forward requests to show or hide SpecRelations.
+ */
+ public void setShowSpecRelations(boolean checked);
+
+ public void setFilter(ReqifFilter filter);
+
+ public Specification getSpecification();
+}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/AddTestObjectsActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/AddTestObjectsActionDelegate.java
index 6ae603f..7564eed 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/AddTestObjectsActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/AddTestObjectsActionDelegate.java
@@ -26,7 +26,7 @@
import org.eclipse.rmf.reqif10.SpecObject;
import org.eclipse.rmf.reqif10.SpecType;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
@@ -62,9 +62,9 @@
SpecType type = specHierarchy.getObject().getType();
if (type == null)
return;
- if (!(editor instanceof SpecificationEditor))
+ if (!(editor instanceof ISpecificationEditor))
return;
- SpecificationEditor specificationEditor = (SpecificationEditor) editor;
+ ISpecificationEditor specificationEditor = (ISpecificationEditor) editor;
Shell shell = window != null ? window.getShell() : editor.getSite()
.getShell();
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ColumnConfigurationActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ColumnConfigurationActionDelegate.java
index bd443d6..896cbd4 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ColumnConfigurationActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ColumnConfigurationActionDelegate.java
@@ -12,6 +12,8 @@
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CompoundCommand;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.impl.AdapterImpl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.edit.command.AddCommand;
import org.eclipse.emf.edit.command.SetCommand;
@@ -28,8 +30,9 @@
import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.ReqifSpecificationEditorInput;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
@@ -37,14 +40,14 @@
public class ColumnConfigurationActionDelegate implements IEditorActionDelegate {
- private SpecificationEditor editor;
+ private ISpecificationEditor editor;
/**
* Retrieves the {@link EditingDomain} from the Editor if present.
*/
public void setActiveEditor(IAction action, IEditorPart editor) {
- if (editor instanceof SpecificationEditor) {
- this.editor = (SpecificationEditor) editor;
+ if (editor instanceof ISpecificationEditor) {
+ this.editor = (ISpecificationEditor) editor;
} else {
this.editor = null;
}
@@ -85,18 +88,59 @@
}
private void launchColumnDialog(final ProrSpecViewConfiguration config) {
- SubtreeDialog dialog = new SubtreeDialog(editor.getReqifEditor(),
+ SubtreeDialog dialog = new SubtreeDialog(editor,
config, "Configure columns for "
+ ConfigurationUtil.getSpecElementLabel(
config.getSpecification(),
editor.getAdapterFactory()),
"org.eclipse.rmf.reqif10.pror.editor.columnConfiguration");
- dialog.setActions(new IAction[] { buildAddColumnAction(config) }, false);
+ dialog.setActions(new IAction[] { buildAddColumnAction(config), buildUnifiedColumnAction(config) }, false);
dialog.open();
return;
}
/**
+ * The Unified Column shows Reqif.Text and Reqif.Title in the same column
+ */
+ private IAction buildUnifiedColumnAction(final ProrSpecViewConfiguration config) {
+ final IAction toggleUnifiedColumnAction = new Action("Unified Column") {
+
+ @Override
+ public void run() {
+ if (! containsUnifiedColumn(config)) {
+ UnifiedColumn column = ConfigurationFactory.eINSTANCE.createUnifiedColumn();
+ column.setLabel("Main");
+ Command cmd = AddCommand
+ .create(editor.getEditingDomain(),
+ config,
+ ConfigurationPackage.Literals.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS,
+ column);
+ editor.getEditingDomain().getCommandStack().execute(cmd);
+ }
+ }
+ };
+ config.eAdapters().add(new AdapterImpl() {
+ @Override
+ public void notifyChanged(Notification msg) {
+ super.notifyChanged(msg);
+ toggleUnifiedColumnAction.setEnabled(! containsUnifiedColumn(config));
+ }
+ });
+ toggleUnifiedColumnAction.setEnabled(! containsUnifiedColumn(config));
+ return toggleUnifiedColumnAction;
+ }
+
+ /**
+ * @return true if the given config already contains a {@link UnifiedColumn}.
+ */
+ private boolean containsUnifiedColumn(ProrSpecViewConfiguration config) {
+ for (Column column : config.getColumns()) {
+ if (column instanceof UnifiedColumn) return true;
+ }
+ return false;
+ }
+
+ /**
* Creates a new Column. If no Columns are present, this is the only way to
* add Columns.
*/
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/DatatypeConfigurationActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/DatatypeConfigurationActionDelegate.java
index dfa0342..b828ff9 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/DatatypeConfigurationActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/DatatypeConfigurationActionDelegate.java
@@ -17,8 +17,7 @@
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.rmf.reqif10.ReqIF;
import org.eclipse.rmf.reqif10.ReqIFToolExtension;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10Editor;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.provider.VirtualSpecObjectItemProvider;
import org.eclipse.rmf.reqif10.pror.provider.VirtualSpecRelationGroupItemProvider;
import org.eclipse.rmf.reqif10.pror.provider.VirtualSpecRelationsItemProvider;
@@ -29,16 +28,14 @@
public class DatatypeConfigurationActionDelegate implements
IEditorActionDelegate {
- private Reqif10Editor editor;
+ private IReqifEditor editor;
/**
* Retrieves the {@link EditingDomain} from the Editor if present.
*/
public void setActiveEditor(IAction action, IEditorPart editor) {
- if (editor instanceof Reqif10Editor) {
- this.editor = (Reqif10Editor) editor;
- } else if (editor instanceof SpecificationEditor) {
- this.editor = ((SpecificationEditor) editor).getReqifEditor();
+ if (editor instanceof IReqifEditor) {
+ this.editor = (IReqifEditor) editor;
} else {
this.editor = null;
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/GeneralConfigurationActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/GeneralConfigurationActionDelegate.java
index ea6b7d8..9b4c71c 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/GeneralConfigurationActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/GeneralConfigurationActionDelegate.java
@@ -20,8 +20,7 @@
import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10Editor;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
@@ -29,16 +28,14 @@
public class GeneralConfigurationActionDelegate implements
IEditorActionDelegate {
- private Reqif10Editor editor;
+ private IReqifEditor editor;
/**
* Retrieves the {@link EditingDomain} from the Editor if present.
*/
public void setActiveEditor(IAction action, IEditorPart editor) {
- if (editor instanceof Reqif10Editor) {
- this.editor = (Reqif10Editor) editor;
- } else if (editor instanceof SpecificationEditor) {
- this.editor = ((SpecificationEditor) editor).getReqifEditor();
+ if (editor instanceof IReqifEditor) {
+ this.editor = (IReqifEditor) editor;
} else {
this.editor = null;
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/PresentationConfigurationActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/PresentationConfigurationActionDelegate.java
index c06093b..7af8165 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/PresentationConfigurationActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/PresentationConfigurationActionDelegate.java
@@ -27,8 +27,7 @@
import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
import org.eclipse.rmf.reqif10.pror.configuration.provider.ProrPresentationConfigurationsItemProvider;
import org.eclipse.rmf.reqif10.pror.edit.presentation.service.PresentationInterface;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10Editor;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.service.PresentationServiceManager;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
@@ -38,16 +37,14 @@
public class PresentationConfigurationActionDelegate implements
IEditorActionDelegate {
- private Reqif10Editor editor;
+ private IReqifEditor editor;
/**
* Retrieves the {@link EditingDomain} from the Editor if present.
*/
public void setActiveEditor(IAction action, IEditorPart editor) {
- if (editor instanceof Reqif10Editor) {
- this.editor = (Reqif10Editor) editor;
- } else if (editor instanceof SpecificationEditor) {
- this.editor = ((SpecificationEditor) editor).getReqifEditor();
+ if (editor instanceof IReqifEditor) {
+ this.editor = (IReqifEditor) editor;
} else {
this.editor = null;
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelDownActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelDownActionDelegate.java
index 7d98aea..43a8786 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelDownActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelDownActionDelegate.java
@@ -21,7 +21,7 @@
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.SpecHierarchy;
import org.eclipse.rmf.reqif10.Specification;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchWindow;
@@ -58,9 +58,9 @@
return;
// SpecType type = specHierarchy.getObject().getType();
- if (!(editor instanceof SpecificationEditor))
+ if (!(editor instanceof ISpecificationEditor))
return;
- SpecificationEditor specificationEditor = (SpecificationEditor) editor;
+ ISpecificationEditor specificationEditor = (ISpecificationEditor) editor;
// Shell shell = window != null ? window.getShell() : editor.getSite()
// .getShell();
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelUpActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelUpActionDelegate.java
index 15e5db4..6092d7d 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelUpActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ShiftLevelUpActionDelegate.java
@@ -23,7 +23,7 @@
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.SpecHierarchy;
import org.eclipse.rmf.reqif10.Specification;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchWindow;
@@ -61,9 +61,9 @@
return;
// SpecType type = specHierarchy.getObject().getType();
- if (!(editor instanceof SpecificationEditor))
+ if (!(editor instanceof ISpecificationEditor))
return;
- SpecificationEditor specificationEditor = (SpecificationEditor) editor;
+ ISpecificationEditor specificationEditor = (ISpecificationEditor) editor;
// Shell shell = window != null ? window.getShell() : editor.getSite()
// .getShell();
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SpecificationWebPrintAction.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SpecificationWebPrintAction.java
index 25247f2..4785d61 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SpecificationWebPrintAction.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SpecificationWebPrintAction.java
@@ -11,7 +11,6 @@
package org.eclipse.rmf.reqif10.pror.editor.actions;
import java.io.File;
-import java.io.FileWriter;
import java.io.IOException;
import org.eclipse.emf.common.notify.AdapterFactory;
@@ -20,7 +19,7 @@
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.rmf.reqif10.Specification;
import org.eclipse.rmf.reqif10.pror.editor.presentation.ReqifSpecificationEditorInput;
-import org.eclipse.rmf.reqif10.pror.editor.util.ProrEditorUtil;
+import org.eclipse.rmf.reqif10.pror.editor.util.HTMLPrinter;
import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IEditorInput;
@@ -54,21 +53,9 @@
Specification spec = ((ReqifSpecificationEditorInput)input).getSpec();
try {
- File folder = File.createTempFile("pror-", "");
- folder.delete();
- folder = new File(folder.getAbsolutePath() + "/");
- folder.mkdir();
-
- String createHtmlContent = ProrEditorUtil.createHtmlContent(spec,
- editingDomain, adapterFactory);
-
- File htmlFile = new File(folder, "pror.html");
- FileWriter writer = new FileWriter(htmlFile);
- writer.write(createHtmlContent);
- writer.close();
- htmlFile.deleteOnExit();
- Program.launch(htmlFile.toURI().toString());
- System.out.println("Launched: " + htmlFile.toURI());
+ HTMLPrinter htmlPrinter = new HTMLPrinter(spec, editingDomain, adapterFactory);
+ File htmlSpec = htmlPrinter.print();
+ Program.launch(htmlSpec.getAbsolutePath());
MessageDialog.openInformation(
Display.getCurrent().getActiveShell(), "Output produced",
"Switch to your web browser to see the output.");
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SubtreeDialog.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SubtreeDialog.java
index 287df31..5f873c4 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SubtreeDialog.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/SubtreeDialog.java
@@ -45,8 +45,8 @@
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.ProrAdapterFactoryContentProvider;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10Editor;
import org.eclipse.rmf.reqif10.pror.editor.propertiesview.ProrPropertySheetPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.DND;
@@ -92,9 +92,9 @@
private final List<ViewerFilter> filters = new ArrayList<ViewerFilter>();
private final AdapterFactory adapterFactory;
private final EditingDomain editingDomain;
- private final Reqif10Editor reqifEditor;
+ private final IReqifEditor reqifEditor;
- protected SubtreeDialog(Reqif10Editor reqifEditor, EObject input, String title,
+ protected SubtreeDialog(IReqifEditor reqifEditor, EObject input, String title,
String helpContext) {
super(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
this.reqifEditor = reqifEditor;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ToggleSpecRelationsActionDelegate.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ToggleSpecRelationsActionDelegate.java
index f4e6339..5c85cb8 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ToggleSpecRelationsActionDelegate.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/actions/ToggleSpecRelationsActionDelegate.java
@@ -12,7 +12,7 @@
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbenchWindow;
@@ -34,8 +34,8 @@
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
public void run(IAction action) {
- if (editor != null && editor instanceof SpecificationEditor) {
- ((SpecificationEditor) editor).setShowSpecRelations(action
+ if (editor != null && editor instanceof ISpecificationEditor) {
+ ((ISpecificationEditor) editor).setShowSpecRelations(action
.isChecked());
}
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/AbstractProrCellRenderer.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/AbstractProrCellRenderer.java
index 7f9bfcb..163d1ea 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/AbstractProrCellRenderer.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/AbstractProrCellRenderer.java
@@ -27,11 +27,12 @@
import org.eclipse.rmf.reqif10.AttributeValueXHTML;
import org.eclipse.rmf.reqif10.EnumValue;
import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10EditorPlugin;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
-import org.eclipse.rmf.reqif10.pror.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
@@ -48,11 +49,14 @@
/**
* @author Lukas Ladenberger
* @author Ingo Weigelt
+ * @author Michael Jastram
*/
public class AbstractProrCellRenderer extends TextCellRenderer {
protected final AdapterFactory adapterFactory;
+ public static Color COLOR_RED = SWTResourceManager.getColor(SWT.COLOR_RED);
+
private final Image IMG_WARN_FALSE = PlatformUI.getWorkbench()
.getSharedImages().getImage(ISharedImages.IMG_OBJS_INFO_TSK);
@@ -89,7 +93,7 @@
if (v instanceof GregorianCalendar) {
GregorianCalendar cal = (GregorianCalendar) v;
Date date = cal.getTime();
- stringValue = DateFormat.getDateInstance().format(date);
+ stringValue = DateFormat.getDateTimeInstance().format(date);
} else if (v instanceof List<?>) {
stringValue = convertListToString((List<?>) v);
} else if (v instanceof XhtmlContent && v != null) {
@@ -157,6 +161,8 @@
protected void initialColor(int row, int col) {
if (agileGrid.isCellSelected(row, col)) {
background = SWTResourceManager.getColor(223, 227, 237);
+ } else {
+ background = SWTResourceManager.getColor(SWT.COLOR_WHITE);
}
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrAgileGridContentProvider.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrAgileGridContentProvider.java
index 4d808b2..4d978ff 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrAgileGridContentProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrAgileGridContentProvider.java
@@ -29,8 +29,12 @@
import org.eclipse.rmf.reqif10.SpecObject;
import org.eclipse.rmf.reqif10.SpecRelation;
import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
+import org.eclipse.rmf.reqif10.pror.configuration.Column;
import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
import org.eclipse.rmf.reqif10.pror.editor.agilegrid.ProrRow.ProrRowSpecHierarchy;
import org.eclipse.rmf.reqif10.pror.editor.agilegrid.ProrRow.ProrRowSpecRelation;
import org.eclipse.rmf.reqif10.pror.filter.ReqifFilter;
@@ -42,7 +46,7 @@
public class ProrAgileGridContentProvider extends AbstractContentProvider {
private final Specification root;
- private final ProrSpecViewConfiguration specViewConfig;
+ final ProrSpecViewConfiguration specViewConfig;
private ArrayList<ProrRow> cache = null;
private Map<Identifiable, ProrRow> rowMap = new HashMap<Identifiable, ProrRow>();
@@ -234,7 +238,31 @@
if (col >= specViewConfig.getColumns().size())
return null;
- String label = specViewConfig.getColumns().get(col).getLabel();
+ // Handle the Unified Column
+ Column column = specViewConfig.getColumns().get(col);
+ if (column instanceof UnifiedColumn) {
+ AttributeValue av = ReqIF10Util.getAttributeValueForLabel(element,
+ "ReqIF.ChapterName");
+ if (av != null && ReqIF10Util.getTheValue(av) != null) {
+ Object value = ReqIF10Util.getTheValue(av);
+ if (value instanceof XhtmlContent) {
+ XhtmlContent xhtmlContent = (XhtmlContent) value;
+ String s = ProrXhtmlSimplifiedHelper
+ .xhtmlToSimplifiedString(xhtmlContent);
+ if (s != null && s.trim().length() > 0) {
+ return av;
+ }
+
+ } else {
+ if (value.toString().trim().length() > 0) {
+ return av;
+ }
+ }
+ }
+ return ReqIF10Util.getAttributeValueForLabel(element, "ReqIF.Text");
+ }
+
+ String label = column.getLabel();
return ReqIF10Util.getAttributeValueForLabel(element, label);
}
@@ -309,6 +337,5 @@
public int getRowCount() {
return getCache().size();
- }
-
+ }
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRenderer.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRenderer.java
index f3c7b87..cfb8c54 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRenderer.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRenderer.java
@@ -25,6 +25,7 @@
import org.eclipse.rmf.reqif10.pror.provider.Reqif10EditPlugin;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
+import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Rectangle;
@@ -107,6 +108,23 @@
} else {
rowHeight = doDrawCellContentDefault(gc, rect, content);
}
+
+ // Prevent Scrolling becoming impossible by truncating large cells vertically.
+ int tableSize = agileGrid.getSize().y;
+ if (rowHeight > (tableSize * .5)) {
+ rowHeight = (int) (tableSize * .5);
+ Color oldForeground = gc.getForeground();
+ Color oldBackground = gc.getBackground();
+
+ gc.setBackground(COLOR_BACKGROUND);
+ gc.setForeground(COLOR_LINE_LIGHTGRAY);
+ gc.fillRectangle(rect.x, rect.y + rowHeight + 4 - 20, rect.width, 20);
+ gc.setForeground(COLOR_RED);
+ gc.drawLine(rect.x, rect.y + rowHeight + 4 - 20, rect.x + rect.width, rect.y + rowHeight + 4 - 20);
+ gc.drawText("Truncated", rect.x + 5, rect.y + rowHeight - 15);
+ gc.setForeground(oldForeground);
+ gc.setBackground(oldBackground);
+ }
updateCellHeight(row, col, rowHeight);
}
@@ -121,7 +139,7 @@
ProrRow prorRow = contentProvider.getProrRow(row);
- int offset = prorRow.getLevel() * 20;
+ int offset = prorRow.getLevel() * 8;
Image icon;
if (prorRow.getSpecElement() instanceof SpecObject) {
icon = specObjectIcon;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRendererProvider.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRendererProvider.java
index 3437868..f11afc9 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRendererProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrCellRendererProvider.java
@@ -18,6 +18,8 @@
import org.agilemore.agilegrid.renderers.HeaderCellRenderer;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
@@ -65,7 +67,10 @@
public static Color COLOR_REQIF_ATTRIBUTE = SWTResourceManager
.getColor(SWT.COLOR_BLUE);
-
+
+ public static Color COLOR_UNIFIED = SWTResourceManager
+ .getColor(SWT.COLOR_DARK_CYAN);
+
public ProrHeaderCellRenderer(AgileGrid agileGrid) {
super(agileGrid, ICellRenderer.STYLE_FLAT
| ICellRenderer.INDICATION_SELECTION_ROW);
@@ -79,10 +84,10 @@
*/
@Override
protected void doDrawCellContent(GC gc, Rectangle rect, int row, int col) {
- if (row >= 0) {
- ProrAgileGridContentProvider contentProvider = (ProrAgileGridContentProvider) agileGrid
- .getContentProvider();
+ ProrAgileGridContentProvider contentProvider = (ProrAgileGridContentProvider) agileGrid
+ .getContentProvider();
+ if (row >= 0) {
ProrRow prorRow = contentProvider.getProrRow(row);
if (!prorRow.isVisible()) {
return;
@@ -100,8 +105,15 @@
label = "";
}
+ // Handling the unified Column, if present.
+ ProrSpecViewConfiguration specView = contentProvider.specViewConfig;
+ if (col >= 0 && col < specView.getColumns().size()
+ && specView.getColumns().get(col) instanceof UnifiedColumn) {
+ gc.setForeground(COLOR_UNIFIED);
+ }
+
// Handling of ReqIF. Attributes
- if (label.startsWith("ReqIF.")) {
+ else if (label.startsWith("ReqIF.")) {
label = label.substring(6);
gc.setForeground(COLOR_REQIF_ATTRIBUTE);
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrDateCellEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrDateCellEditor.java
index ba1cab1..9152353 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrDateCellEditor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrDateCellEditor.java
@@ -11,68 +11,118 @@
package org.eclipse.rmf.reqif10.pror.editor.agilegrid;
import java.text.DateFormat;
-import java.text.ParseException;
+import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
-import javax.xml.datatype.DatatypeConfigurationException;
-
import org.agilemore.agilegrid.AgileGrid;
-import org.agilemore.agilegrid.ICellEditorValidator;
+import org.agilemore.agilegrid.editors.PopupCellEditor;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.rmf.reqif10.AttributeValue;
+import org.eclipse.rmf.reqif10.AttributeValueDate;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.DateTime;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
-public class ProrDateCellEditor extends ProrCellEditor {
+public class ProrDateCellEditor extends PopupCellEditor {
+
+ private DateTime date;
+ private DateTime time;
+ private AttributeValueDate attributeValue;
+ private EditingDomain editingDomain;
+ private Object affectedObject;
+ private Object parent;
public ProrDateCellEditor(AgileGrid agileGrid, EditingDomain editingDomain,
Object parent,
Object affectedObject) {
- super(agileGrid, editingDomain, parent, affectedObject);
- this.setValidator(new ICellEditorValidator() {
- public String isValid(Object value) {
- if (value == null) {
- return null;
- }
- try {
- ReqIF10Util.stingToCalendar(value.toString());
- } catch (ParseException e) {
- return "Required Format: "
- + DateFormat.getDateInstance().format(new Date());
- } catch (DatatypeConfigurationException e) {
- return "Parsing Problem: " + e.toString();
- }
- return null;
- }
- });
+ super(agileGrid);
+ this.editingDomain = editingDomain;
+ this.affectedObject = affectedObject;
+ this.parent = parent;
}
@Override
protected Object doGetValue() {
- try {
- GregorianCalendar value = ReqIF10Util.stingToCalendar(text.getText());
+ GregorianCalendar value = new GregorianCalendar(date.getYear(),
+ date.getMonth(), date.getDay(), time.getHours(),
+ time.getMinutes(), time.getSeconds());
ProrUtil.setTheValue(attributeValue, value, parent, affectedObject,
editingDomain);
- } catch (ParseException e) {
- e.printStackTrace();
- // No action necessary, we simply restore the old value.
- } catch (DatatypeConfigurationException e) {
- e.printStackTrace();
- // No action necessary, we simply restore the old value.
- }
return attributeValue;
}
@Override
protected void doSetValue(Object value) {
- if (value instanceof AttributeValue) {
- attributeValue = (AttributeValue) value;
+ if (value instanceof AttributeValueDate) {
+ this.attributeValue = (AttributeValueDate) value;
+ }
+ super.doSetValue(value);
+ }
- Object cal = ReqIF10Util.getTheValue(attributeValue);
- if (cal instanceof GregorianCalendar) {
- text.setText(DateFormat.getDateInstance().format(
- ((GregorianCalendar) cal).getTime()));
+ @Override
+ protected void updateLabel(Object value) {
+ if (value instanceof AttributeValueDate) {
+ AttributeValueDate av = (AttributeValueDate) value;
+ if (av.getTheValue() != null) {
+ Date date = av.getTheValue().getTime();
+ super.updateLabel(DateFormat.getDateTimeInstance().format(date));
+ return;
+ }
+ }
+ super.updateLabel(value);
+ }
+
+ @Override
+ protected Control createContents(Composite parent) {
+ Composite composite = new Composite(parent, SWT.BORDER_SOLID);
+ GridLayout layout = new GridLayout();
+ layout.marginHeight = 0;
+ layout.marginWidth = 0;
+ layout.horizontalSpacing = 0;
+ layout.verticalSpacing = 5;
+ composite.setLayout(layout);
+
+ date = new DateTime(composite, SWT.CALENDAR | SWT.MEDIUM);
+
+ time = new DateTime(composite, SWT.TIME);
+ GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false);
+ time.setLayoutData(gd);
+
+ Object cal = ReqIF10Util.getTheValue(attributeValue);
+ if (cal instanceof GregorianCalendar) {
+ GregorianCalendar calendar = ((GregorianCalendar) cal);
+ date.setDate(calendar.get(Calendar.YEAR),
+ calendar.get(Calendar.DAY_OF_MONTH), Calendar.DAY_OF_MONTH);
+ time.setTime(calendar.get(Calendar.HOUR),
+ calendar.get(Calendar.MINUTE), Calendar.SECOND);
+ }
+
+ return composite;
+ }
+
+ /**
+ * This method is overridden to add a read-and-dispatch loop after opening
+ * the popup. Otherwise, the panel will disappear immediately on Linux.
+ */
+ @Override
+ protected void openPopupBox(Control parent) {
+ super.openPopupBox(parent);
+
+ // Workaround to prevent shell from closing right after opening on Linux.
+ Display display = Display.getCurrent();
+ Shell shell = display.getActiveShell();
+ shell.pack();
+
+ while (!shell.isDisposed()) {
+ if (!display.readAndDispatch()) {
+ display.sleep();
}
}
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrEnumerationMultiValueCellEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrEnumerationMultiValueCellEditor.java
index 9f29b7d..69d1a7f 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrEnumerationMultiValueCellEditor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrEnumerationMultiValueCellEditor.java
@@ -21,27 +21,14 @@
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.rmf.reqif10.AttributeValueEnumeration;
import org.eclipse.rmf.reqif10.DatatypeDefinitionEnumeration;
-import org.eclipse.rmf.reqif10.EnumValue;
import org.eclipse.rmf.reqif10.ReqIF10Package;
+import org.eclipse.rmf.reqif10.pror.editor.presentation.EnumSelector;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.FillLayout;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableItem;
-import org.eclipse.ui.ISharedImages;
-import org.eclipse.ui.PlatformUI;
public class ProrEnumerationMultiValueCellEditor extends PopupCellEditor {
-
- private ArrayList<EnumValue> itemList = new ArrayList<EnumValue>();
private final DatatypeDefinitionEnumeration dde;
/**
@@ -51,6 +38,7 @@
private final EditingDomain editingDomain;
private Object parent;
private Object affectedObject;
+ private EnumSelector selector;
public ProrEnumerationMultiValueCellEditor(AgileGrid agileGrid,
DatatypeDefinitionEnumeration dde,
@@ -65,70 +53,12 @@
@Override
protected Control createContents(Composite parent) {
- Composite composite = new Composite(parent, SWT.BORDER_SOLID);
- GridLayout layout = new GridLayout();
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- layout.horizontalSpacing = 0;
- layout.verticalSpacing = 5;
- composite.setLayout(layout);
- Table table = new Table(composite, SWT.CHECK);
- GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
- gd.heightHint = 150;
- table.setLayoutData(gd);
- table.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- if (e.detail == SWT.CHECK && e.item instanceof TableItem) {
- TableItem item = (TableItem) e.item;
- if (item.getChecked()) {
- itemList.add((EnumValue) item.getData());
- } else {
- itemList.remove((EnumValue) item.getData());
- }
- }
- }
- });
-
- for (EnumValue enumValue : dde.getSpecifiedValues()) {
- TableItem tableItem = new TableItem(table, SWT.NONE);
- String enumId = enumValue.getLongName() == null ? enumValue.getIdentifier() : enumValue.getLongName();
- tableItem.setText(enumId);
- tableItem.setData(enumValue);
- if (attributeValue.getValues().contains(enumValue)) {
- tableItem.setChecked(true);
- itemList.add(enumValue);
- }
- }
-
- Composite buttonPanel = new Composite(composite, SWT.NONE);
- buttonPanel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- buttonPanel.setLayout(new FillLayout(SWT.HORIZONTAL));
- Button cancel = new Button(buttonPanel, SWT.PUSH);
- cancel.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_DELETE));
- cancel.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- fireCancelEditor();
- }
- });
-
- Button ok = new Button(buttonPanel, SWT.PUSH);
- ok.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_ETOOL_SAVE_EDIT));
- ok.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- fireApplyEditorValue();
- }
- });
- return composite;
+ selector = new EnumSelector(dde.getSpecifiedValues(), attributeValue.getValues(), parent, SWT.BORDER_SOLID);
+ return selector;
}
@Override
protected Object doGetValue() {
- if (itemList == null) {
- return super.doGetValue();
- }
CompoundCommand cmd = new CompoundCommand("Set Enumeration") {
public java.util.Collection<?> getAffectedObjects() {
@@ -150,7 +80,7 @@
.create(editingDomain,
attributeValue,
ReqIF10Package.Literals.ATTRIBUTE_VALUE_ENUMERATION__VALUES,
- itemList));
+ selector.getItems()));
editingDomain.getCommandStack().execute(cmd);
return attributeValue;
@@ -166,7 +96,6 @@
@Override
protected void fireCancelEditor() {
- itemList = null;
super.fireCancelEditor();
}
/**
@@ -176,17 +105,17 @@
@Override
protected void openPopupBox(Control parent) {
super.openPopupBox(parent);
-
- // Workaround to prevent shell from closing right after opening on Linux.
- Display display = Display.getCurrent();
- Shell shell = display.getActiveShell();
- shell.pack();
-
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch()) {
- display.sleep();
- }
+ int result = selector.showEnumSelector(Display.getCurrent().getActiveShell());
+ if (result == SWT.CANCEL) {
+ fireCancelEditor();
+ } else {
+ fireApplyEditorValue();
}
}
-
+
+ @Override
+ protected void updateLabel(Object value) {
+ super.updateLabel("Select below.");
+ }
+
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrXhtmlSimplifiedCellEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrXhtmlSimplifiedCellEditor.java
index 323944f..c8b2faf 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrXhtmlSimplifiedCellEditor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/agilegrid/ProrXhtmlSimplifiedCellEditor.java
@@ -26,9 +26,9 @@
import org.eclipse.rmf.reqif10.ReqIF10Factory;
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.pror.editor.preferences.PreferenceConstants;
import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10EditorPlugin;
-import org.eclipse.rmf.reqif10.pror.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.xhtml.XhtmlDivType;
import org.eclipse.swt.widgets.Display;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/EnumSelector.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/EnumSelector.java
new file mode 100644
index 0000000..a95c45d
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/EnumSelector.java
@@ -0,0 +1,197 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Formal Mind GmbH.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Michael Jastram - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.rmf.reqif10.pror.editor.presentation;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.rmf.reqif10.EnumValue;
+import org.eclipse.rmf.reqif10.pror.editor.agilegrid.ProrEnumerationMultiValueCellEditor;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.KeyAdapter;
+import org.eclipse.swt.events.KeyEvent;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.ShellAdapter;
+import org.eclipse.swt.events.ShellEvent;
+import org.eclipse.swt.graphics.Rectangle;
+import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.swt.widgets.TableItem;
+import org.eclipse.ui.ISharedImages;
+import org.eclipse.ui.PlatformUI;
+
+/**
+ * This -Control represents a GUI element that allows the selection of
+ * {@link EnumValue}s. It offers a save and cancel button, and is designed to be
+ * shown in a {@link Shell}.
+ *
+ * It is written so that it can be used by AgileGrid (see
+ * {@link ProrEnumerationMultiValueCellEditor} or stand-alone (e.g. in a search
+ * interface).
+ *
+ * IMPORTANT: AgileGrid provides a proper shell, to be used with
+ * {@link #showEnumSelector(Shell)}. Outside AgileGrid, a Shell must be
+ * constructed BEFORE instantiating the control. You can use the static method
+ * {@link #createShell(Shell)} for this purpose.
+ *
+ * @author jastram
+ */
+public class EnumSelector extends Composite {
+
+ private ArrayList<EnumValue> itemList = new ArrayList<EnumValue>();
+ private int status = SWT.OK;
+ private Collection<EnumValue> originalSelection;
+
+ /**
+ * Createes the Control.
+ */
+ public EnumSelector(List<EnumValue> items, Collection<EnumValue> selection,
+ Composite parent, int style) {
+ super(parent, style);
+ originalSelection = selection;
+
+ GridLayout layout = new GridLayout();
+ layout.marginHeight = 0;
+ layout.marginWidth = 0;
+ layout.horizontalSpacing = 0;
+ layout.verticalSpacing = 5;
+ setLayout(layout);
+ Table table = new Table(this, SWT.CHECK);
+ GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
+ gd.heightHint = 150;
+ table.setLayoutData(gd);
+ table.addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ if (e.detail == SWT.CHECK && e.item instanceof TableItem) {
+ TableItem item = (TableItem) e.item;
+ if (item.getChecked()) {
+ itemList.add((EnumValue) item.getData());
+ } else {
+ itemList.remove((EnumValue) item.getData());
+ }
+ }
+ }
+ });
+
+ for (EnumValue enumValue : items) {
+ TableItem tableItem = new TableItem(table, SWT.NONE);
+ String enumId = enumValue.getLongName() == null ? enumValue
+ .getIdentifier() : enumValue.getLongName();
+ tableItem.setText(enumId);
+ tableItem.setData(enumValue);
+ if (selection.contains(enumValue)) {
+ tableItem.setChecked(true);
+ itemList.add(enumValue);
+ }
+ }
+
+ Composite buttonPanel = new Composite(this, SWT.NONE);
+ buttonPanel
+ .setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ buttonPanel.setLayout(new FillLayout(SWT.HORIZONTAL));
+ Button cancel = new Button(buttonPanel, SWT.PUSH);
+ cancel.setImage(PlatformUI.getWorkbench().getSharedImages()
+ .getImage(ISharedImages.IMG_TOOL_DELETE));
+ cancel.addSelectionListener(new SelectionAdapter() {
+
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ status = SWT.CANCEL;
+ Display.getCurrent().getActiveShell().close();
+ }
+ });
+
+ Button ok = new Button(buttonPanel, SWT.PUSH);
+ ok.setImage(PlatformUI.getWorkbench().getSharedImages()
+ .getImage(ISharedImages.IMG_ETOOL_SAVE_EDIT));
+ ok.addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ status = SWT.OK;
+ Display.getCurrent().getActiveShell().close();
+ }
+ });
+ }
+
+ /**
+ * Opens the control. Make sure to get the shell via
+ * {@link #createShell(Control)}, unless you use this via AgileGrid.
+ */
+ public int showEnumSelector(Shell shell) {
+ shell.pack();
+
+ while (!shell.isDisposed()) {
+ if (!Display.getCurrent().readAndDispatch()) {
+ Display.getCurrent().sleep();
+ }
+ }
+
+ return status;
+ }
+
+ /**
+ * Returns the selected items. If the user cancelled, the original,
+ * unmodified selection will be returned.
+ */
+ public Collection<EnumValue> getItems() {
+ return status == SWT.OK ? itemList : originalSelection;
+ }
+
+ /**
+ * Creates a shell that: is positioned below the parent; can be closed via
+ * ESC; is closed if the user clicks outside, or if the shell loses focus.
+ *
+ * Unless the user cancels explicitly (button), the new values will be
+ * accepted.
+ */
+ public static Shell createShell(Control parent) {
+ final Shell shell = new Shell(parent.getShell(), SWT.RESIZE
+ | SWT.ON_TOP);
+ shell.setBackground(parent.getBackground());
+ shell.setLayout(new FillLayout());
+ shell.addKeyListener(new KeyAdapter() {
+ @Override
+ public void keyReleased(KeyEvent e) {
+ if (e.character == SWT.ESC) { // Escape
+ shell.close();
+ }
+ }
+ });
+
+ shell.addShellListener(new ShellAdapter() {
+ @Override
+ public void shellDeactivated(ShellEvent e) {
+ shell.close();
+ }
+ });
+
+ Display display = parent.getDisplay();
+
+ Rectangle clientRect = display.map(parent, null, new Rectangle(0, 0, 0,
+ 0));
+ shell.setBounds(clientRect.x, clientRect.y + parent.getBounds().height,
+ 0, 0);
+ shell.open();
+ shell.layout();
+ return shell;
+ }
+
+}
\ No newline at end of file
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ActionBarContributor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ActionBarContributor.java
index c10ab41..50a6bc7 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ActionBarContributor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ActionBarContributor.java
@@ -53,6 +53,7 @@
import org.eclipse.rmf.reqif10.SpecRelationType;
import org.eclipse.rmf.reqif10.SpecType;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.agilegrid.AgileCellEditorActionHandler;
import org.eclipse.rmf.reqif10.pror.filter.ReqifFilter;
import org.eclipse.rmf.reqif10.pror.filter.SimpleStringFilter;
@@ -273,13 +274,13 @@
quicksearch = new Text(parent, SWT.SEARCH | SWT.ICON_CANCEL
| SWT.ICON_SEARCH);
quicksearch.setSize(500, 0);
- quicksearch.setEnabled(activeEditorPart instanceof SpecificationEditor);
+ quicksearch.setEnabled(activeEditorPart instanceof ISpecificationEditor);
quicksearch.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
- if (activeEditorPart instanceof SpecificationEditor) {
+ if (activeEditorPart instanceof ISpecificationEditor) {
quicksearch.setEnabled(true);
- SpecificationEditor specEditor = (SpecificationEditor) activeEditor;
+ ISpecificationEditor specEditor = (ISpecificationEditor) activeEditor;
final String text = quicksearch.getText();
if (text == null || "".equals(text)) {
specEditor.setFilter(null);
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10Editor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10Editor.java
index 7f33750..9a198b0 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10Editor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10Editor.java
@@ -86,7 +86,6 @@
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ListViewer;
import org.eclipse.jface.viewers.SelectionChangedEvent;
@@ -106,6 +105,8 @@
import org.eclipse.rmf.reqif10.Specification;
import org.eclipse.rmf.reqif10.XhtmlContent;
import org.eclipse.rmf.reqif10.pror.configuration.provider.ConfigurationItemProviderAdapterFactory;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.service.PresentationServiceManager;
import org.eclipse.rmf.reqif10.pror.editor.propertiesview.ProrPropertySheetPage;
import org.eclipse.rmf.reqif10.pror.provider.ReqIF10ItemProviderAdapterFactory;
@@ -113,8 +114,8 @@
import org.eclipse.rmf.reqif10.pror.provider.VirtualSpecTypeItemProvider;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.xhtml.provider.XhtmlItemProviderAdapterFactory;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResource;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceSetImpl;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResource;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResourceSetImpl;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.dnd.DND;
@@ -150,14 +151,14 @@
* This is an example of a Reqif10 model editor. <!-- begin-user-doc --> We
* modified the generated Editor as little as possible to keep the benefits of
* working Code. Note that this Editor doesn't do that much. The
- * {@link SpecificationEditor} is much more important and powerful. It uses some
+ * {@link ISpecificationEditor} is much more important and powerful. It uses some
* elements from this Editor, however (PropertyView, OutlineView...) <!--
* end-user-doc -->
*
* @generated
*/
public class Reqif10Editor extends MultiPageEditorPart implements
- IEditingDomainProvider, ISelectionProvider, IMenuListener,
+ IReqifEditor, IMenuListener,
IViewerProvider, IGotoMarker {
/**
@@ -1888,4 +1889,16 @@
}
}
+ public ISpecificationEditor openSpecEditor(Specification spec) {
+ ReqifSpecificationEditorInput editorInput = new ReqifSpecificationEditorInput(
+ this, spec);
+ try {
+ return (ISpecificationEditor) IDE.openEditor(getSite().getPage(),
+ editorInput, SpecificationEditor.EDITOR_ID, false);
+ } catch (PartInitException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ModelWizard.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ModelWizard.java
index a207273..2d6b79b 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ModelWizard.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/Reqif10ModelWizard.java
@@ -25,8 +25,6 @@
import java.util.StringTokenizer;
import java.util.UUID;
-import javax.xml.datatype.XMLGregorianCalendar;
-
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
@@ -73,8 +71,7 @@
import org.eclipse.rmf.reqif10.pror.provider.Reqif10EditPlugin;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.serialization.ReqIF10ResourceFactoryImpl;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceFactoryImpl;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceSetImpl;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResourceSetImpl;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifMainForm.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifMainForm.java
index d88eff0..9b83ae6 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifMainForm.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifMainForm.java
@@ -32,6 +32,7 @@
import org.eclipse.rmf.reqif10.ReqIFContent;
import org.eclipse.rmf.reqif10.ReqIFHeader;
import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.provider.ReqIFContentItemProvider;
import org.eclipse.rmf.reqif10.pror.provider.VirtualSpecificationsItemProvider;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
@@ -40,9 +41,6 @@
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.forms.events.ExpansionAdapter;
import org.eclipse.ui.forms.events.ExpansionEvent;
import org.eclipse.ui.forms.widgets.FormToolkit;
@@ -50,7 +48,6 @@
import org.eclipse.ui.forms.widgets.Section;
import org.eclipse.ui.forms.widgets.TableWrapData;
import org.eclipse.ui.forms.widgets.TableWrapLayout;
-import org.eclipse.ui.ide.IDE;
/**
*
@@ -67,13 +64,13 @@
private final ReqIF reqif;
- private final Reqif10Editor reqifEditor;
+ private final IReqifEditor reqifEditor;
private ComposedAdapterFactory getAdapterFactory() {
return (ComposedAdapterFactory) reqifEditor.getAdapterFactory();
}
- public ReqifMainForm(Composite parent, Reqif10Editor rifEditor) {
+ public ReqifMainForm(Composite parent, IReqifEditor rifEditor) {
this.reqifEditor = rifEditor;
this.reqif = rifEditor.getReqif();
@@ -178,7 +175,7 @@
Object element = ((IStructuredSelection) event.getSelection())
.getFirstElement();
if (element instanceof Specification) {
- openSpec((Specification) element);
+ reqifEditor.openSpecEditor((Specification) element);
}
}
});
@@ -305,18 +302,6 @@
return form;
}
- private void openSpec(Specification spec) {
- try {
- IWorkbenchPage page = PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage();
- ReqifSpecificationEditorInput editorInput = new ReqifSpecificationEditorInput(
- reqifEditor, spec);
- IDE.openEditor(page, editorInput, SpecificationEditor.EDITOR_ID);
- } catch (PartInitException e) {
- e.printStackTrace();
- }
- }
-
private String getString(String key) {
return Reqif10EditorPlugin.INSTANCE.getString(key);
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifSpecificationEditorInput.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifSpecificationEditorInput.java
index 8ed4c3a..3deb0d1 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifSpecificationEditorInput.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/ReqifSpecificationEditorInput.java
@@ -13,6 +13,7 @@
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
@@ -25,16 +26,16 @@
private final Specification spec;
- private final Reqif10Editor rifEditor;
+ private final IReqifEditor reqifEditor;
- public ReqifSpecificationEditorInput(Reqif10Editor rifEditor,
+ public ReqifSpecificationEditorInput(IReqifEditor rifEditor,
Specification spec) {
- this.rifEditor = rifEditor;
+ this.reqifEditor = rifEditor;
this.spec = spec;
}
- public Reqif10Editor getReqifEditor() {
- return rifEditor;
+ public IReqifEditor getReqifEditor() {
+ return reqifEditor;
}
public Specification getSpec() {
@@ -67,7 +68,7 @@
* @see org.eclipse.ui.IEditorInput#getName()
*/
public String getName() {
- ItemProviderAdapter ip = ProrUtil.getItemProvider(rifEditor.getAdapterFactory(), spec);
+ ItemProviderAdapter ip = ProrUtil.getItemProvider(reqifEditor.getAdapterFactory(), spec);
return ip.getText(spec);
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/SpecificationEditor.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/SpecificationEditor.java
index a4ecbd3..3164089 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/SpecificationEditor.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/presentation/SpecificationEditor.java
@@ -24,8 +24,8 @@
import org.eclipse.emf.common.notify.impl.AdapterImpl;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
@@ -36,10 +36,12 @@
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.rmf.reqif10.ReqIF;
import org.eclipse.rmf.reqif10.ReqIF10Package;
import org.eclipse.rmf.reqif10.SpecHierarchy;
import org.eclipse.rmf.reqif10.SpecRelation;
import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.actions.SpecificationWebPrintAction;
import org.eclipse.rmf.reqif10.pror.editor.agilegrid.ProrAgileGrid;
import org.eclipse.rmf.reqif10.pror.editor.agilegrid.ProrAgileGridViewer;
@@ -63,7 +65,7 @@
* @author Michael Jastram
*/
public class SpecificationEditor extends EditorPart implements
- IEditingDomainProvider, IMenuListener {
+ ISpecificationEditor, IMenuListener {
public static final String EDITOR_ID = "org.eclipse.rmf.reqif10.pror.SpecificationEditor";
@@ -107,7 +109,7 @@
}
// Extracting Info from the input
- reqifEditor = ((ReqifSpecificationEditorInput) input).getReqifEditor();
+ reqifEditor = (Reqif10Editor) ((ReqifSpecificationEditorInput) input).getReqifEditor();
specification = ((ReqifSpecificationEditorInput) input).getSpec();
reqifActionBarContributor = (Reqif10ActionBarContributor) site
@@ -160,6 +162,10 @@
}
buildContextMenu();
}
+
+ public Specification getSpecification() {
+ return specification;
+ }
/**
* Registers a command stack listener that updates the save state and
@@ -365,7 +371,7 @@
}
/**
- * @return true
+ * Only allowed from main editor.
*/
@Override
public boolean isSaveAsAllowed() {
@@ -456,16 +462,41 @@
return false;
}
- public Reqif10ActionBarContributor getReqifActionBarContributor() {
- return reqifActionBarContributor;
+ public void setFilter(ReqifFilter filter) {
+ prorAgileGridViewer.setFilter(filter);
+ }
+
+ public ReqIF getReqif() {
+ return reqifEditor.getReqif();
}
public AdapterFactory getAdapterFactory() {
return reqifEditor.getAdapterFactory();
}
- public void setFilter(ReqifFilter filter) {
- prorAgileGridViewer.setFilter(filter);
+ public EditingDomainActionBarContributor getActionBarContributor() {
+ return reqifEditor.getActionBarContributor();
+ }
+
+ public void addSelectionChangedListener(ISelectionChangedListener listener) {
+ reqifEditor.addSelectionChangedListener(listener);
+ }
+
+ public ISelection getSelection() {
+ return reqifEditor.getSelection();
+ }
+
+ public void removeSelectionChangedListener(
+ ISelectionChangedListener listener) {
+ reqifEditor.removeSelectionChangedListener(listener);
+ }
+
+ public void setSelection(ISelection selection) {
+ reqifEditor.setSelection(selection);
+ }
+
+ public ISpecificationEditor openSpecEditor(Specification spec) {
+ return reqifEditor.openSpecEditor(spec);
}
}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyCellRenderer.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyCellRenderer.java
index 3ad62bf..b55da14 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyCellRenderer.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyCellRenderer.java
@@ -25,6 +25,7 @@
import org.eclipse.rmf.reqif10.pror.editor.propertiesview.ProrPropertyContentProvider.PropertyRow;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
+import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Rectangle;
@@ -88,6 +89,23 @@
}
}
+ // Prevent Scrolling becoming impossible by truncating large cells vertically.
+ int tableSize = agileGrid.getSize().y;
+ if (newRowHeight > (tableSize * .5)) {
+ newRowHeight = (int) (tableSize * .5);
+ Color oldForeground = gc.getForeground();
+ Color oldBackground = gc.getBackground();
+
+ gc.setBackground(COLOR_BACKGROUND);
+ gc.setForeground(COLOR_LINE_LIGHTGRAY);
+ gc.fillRectangle(rect.x, rect.y + newRowHeight + 4 - 20, rect.width, 20);
+ gc.setForeground(COLOR_RED);
+ gc.drawLine(rect.x, rect.y + newRowHeight + 4 - 20, rect.x + rect.width, rect.y + newRowHeight + 4 - 20);
+ gc.drawText("Truncated", rect.x + 5, rect.y + newRowHeight - 15);
+ gc.setForeground(oldForeground);
+ gc.setBackground(oldBackground);
+ }
+
// Set the correct row height
if (newRowHeight < 18) // The row height should be at least 18
newRowHeight = initRowHeight;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyContentProvider.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyContentProvider.java
index 72d451b..dce0207 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyContentProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertyContentProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2014 Formal Mind GmbH, University of Duesseldorf and others.
+ * Copyright (c) 2014, 2015 Formal Mind GmbH, University of Duesseldorf 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
@@ -21,7 +21,6 @@
import org.agilemore.agilegrid.AbstractContentProvider;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor.PropertyValueWrapper;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
@@ -101,11 +100,6 @@
return getRows().get(row);
}
- public IItemLabelProvider getItemLabelProvider(int row) {
- // TODO Auto-generated method stub
- return null;
- }
-
public void setContent(Object content) {
this.content = content;
rows = null;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertySheetPage.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertySheetPage.java
index 60f39eb..96d8fd8 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertySheetPage.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/propertiesview/ProrPropertySheetPage.java
@@ -35,8 +35,8 @@
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.rmf.reqif10.AttributeValue;
import org.eclipse.rmf.reqif10.Identifiable;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10EditorPlugin;
-import org.eclipse.rmf.reqif10.pror.editor.presentation.SpecificationEditor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
@@ -184,7 +184,7 @@
/**
* This method is called if a selection was changed in the
- * {@link SpecificationEditor}.
+ * {@link ISpecificationEditor}.
*/
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
EditingDomain newEditingDomain = null;
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/HTMLPrinter.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/HTMLPrinter.java
new file mode 100644
index 0000000..3ac7750
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/HTMLPrinter.java
@@ -0,0 +1,304 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Michael Jastram - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.rmf.reqif10.pror.editor.util;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.nio.charset.Charset;
+import java.text.SimpleDateFormat;
+import java.util.GregorianCalendar;
+import java.util.Iterator;
+import java.util.List;
+import java.util.StringTokenizer;
+
+import org.eclipse.emf.common.CommonPlugin;
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.rmf.reqif10.AttributeValue;
+import org.eclipse.rmf.reqif10.DatatypeDefinition;
+import org.eclipse.rmf.reqif10.EnumValue;
+import org.eclipse.rmf.reqif10.SpecHierarchy;
+import org.eclipse.rmf.reqif10.SpecObject;
+import org.eclipse.rmf.reqif10.Specification;
+import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
+import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
+import org.eclipse.rmf.reqif10.common.util.ReqIF10XhtmlUtil;
+import org.eclipse.rmf.reqif10.pror.configuration.Column;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
+import org.eclipse.rmf.reqif10.pror.editor.presentation.service.IProrCellRenderer;
+import org.eclipse.rmf.reqif10.pror.editor.presentation.service.PresentationEditorInterface;
+import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
+import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+import com.google.common.io.Files;
+
+/**
+ * Once instantiated, it can produce a folder with HTML for the given
+ * Specification.
+ *
+ * @author jastram
+ */
+public class HTMLPrinter {
+
+ private Specification spec;
+ private AdapterFactory adapterFactory;
+ private File sourceFolder;
+ private ProrSpecViewConfiguration config;
+ private File targetFolder;
+
+ /**
+ * Constructs an HTMLPriter..
+ */
+ public HTMLPrinter(Specification spec, EditingDomain domain,
+ AdapterFactory adapterFactory) {
+ this.spec = spec;
+ this.adapterFactory = adapterFactory;
+
+ this.sourceFolder = new File(CommonPlugin.resolve(spec.eResource().getURI())
+ .trimSegments(1).toFileString());
+ this.config = ConfigurationUtil.createSpecViewConfiguration(spec,
+ domain);
+ }
+
+ /**
+ * Produces a File representing the spec that this object was constructed with,
+ * located in a temporary folder that also contains related images, if any.
+ */
+ public File print() throws IOException {
+
+ targetFolder = createTempFolder();
+
+ // Build the HTML
+ StringBuilder html = new StringBuilder();
+ createHtmlHeader(html);
+ html.append("<table>");
+ createRowHeader(html);
+
+ printRecursive(html, 0, spec.getChildren());
+ html.append("</table>");
+
+ // Write the HTML
+ File htmlFile = new File(targetFolder, spec.getIdentifier() + ".html");
+ OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(htmlFile),Charset.forName("UTF-8").newEncoder());
+ writer.write(html.toString());
+ writer.close();
+ htmlFile.deleteOnExit();
+
+ return htmlFile;
+ }
+
+ /**
+ * Builds the header row.
+ * @return
+ */
+ private void createRowHeader(StringBuilder html) {
+
+ html.append("<tr>");
+ EList<Column> cols = config.getColumns();
+ for (Column col : cols) {
+ html.append("<td><b>" + col.getLabel() + "</b></td>");
+ }
+ html.append("</tr>\n");
+ }
+
+ /**
+ * Creates a temporary folder for the spec. Note that currently there is no cleanup.
+ */
+ private File createTempFolder() throws IOException {
+ File targetFolder = File.createTempFile("pror-", "");
+ targetFolder.delete();
+ targetFolder = new File(targetFolder.getAbsolutePath() + "/");
+ targetFolder.mkdir();
+ return targetFolder;
+ }
+
+ private void createHtmlHeader(StringBuilder html) {
+ String title = ConfigurationUtil.getSpecElementLabel(spec,
+ adapterFactory);
+ html.append("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n");
+ html.append("<html>\n");
+ html.append("<head>\n");
+ html.append("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n");
+ html.append("<meta name=\"GENERATOR\" content=\"ProR (www.pror.org)\">\n");
+ html.append("<title>" + title + "</title>\n");
+ html.append("<style type=\"text/css\">\n");
+ html.append("body {font-family: Arial, sans-serif;}\n");
+ html.append("h1 {text-align: center;}\n");
+ html.append("table, th, td { border-bottom: 1px solid #cccccc; }\n");
+ html.append("td { padding: 2pt; }\n");
+ html.append("table { border-collapse: collapse; }");
+ html.append("</style>\n");
+ html.append("</head>\n\n");
+ html.append("<body>\n");
+ html.append("<h1>" + title + "</h1>\n");
+ }
+
+ private void printRecursive(StringBuilder html, int indent,
+ EList<SpecHierarchy> children) {
+ for (SpecHierarchy child : children) {
+ if (child.getObject() != null) {
+ SpecObject specObject = child.getObject();
+ boolean first = true;
+ html.append("<tr>");
+ for (Column col : config.getColumns()) {
+ html.append("<td valign='top'>");
+
+ // Handle indenting
+ if (first) {
+ html.append("<div style='margin-left: " + (indent * 20)
+ + "px;'>");
+ }
+
+ AttributeValue av;
+ if (col instanceof UnifiedColumn) {
+ av = ReqIF10Util.getAttributeValueForLabel(specObject,
+ "ReqIF.Text");
+ if (av == null || ReqIF10Util.getTheValue(av) == null) {
+ av = ReqIF10Util.getAttributeValueForLabel(
+ specObject, "ReqIF.ChapterName");
+ }
+ } else {
+ av = ReqIF10Util.getAttributeValueForLabel(specObject,
+ col.getLabel());
+ }
+ DatatypeDefinition dd = ReqIF10Util
+ .getDatatypeDefinition(av);
+ ProrPresentationConfiguration configuration = ConfigurationUtil
+ .getPresentationConfiguration(dd);
+
+ Object itemProvider = ProrUtil.getItemProvider(
+ adapterFactory, configuration);
+
+ if (itemProvider instanceof PresentationEditorInterface) {
+ PresentationEditorInterface presentationEditor = (PresentationEditorInterface) itemProvider;
+ IProrCellRenderer renderer = presentationEditor
+ .getCellRenderer(av);
+ if (renderer != null) {
+ String content = renderer.doDrawHtmlContent(av);
+ if (content != null) {
+ html.append(content);
+ } else {
+ html.append(getValueAsString(av));
+ }
+ }
+
+ } else {
+ html.append(getValueAsString(av));
+ }
+
+ if (first) {
+ first = false;
+ html.append("</div>");
+ }
+ html.append("</td>");
+ }
+ html.append("</tr>\n");
+ }
+ printRecursive(html, indent + 1, child.getChildren());
+ }
+ }
+
+ private String getValueAsString(AttributeValue av) {
+ Object value = av == null ? null : ReqIF10Util.getTheValue(av);
+ if (value == null) {
+ return "";
+ } else if (value instanceof List<?>) {
+ return listAsString(value);
+ } else if (value instanceof XhtmlContent) {
+ return xhtmlAsString((XhtmlContent)value);
+ } else if (value instanceof GregorianCalendar) {
+ GregorianCalendar cal = (GregorianCalendar) value;
+ SimpleDateFormat formatter = new SimpleDateFormat(
+ "yyyy-MMM-dd hh:mm:ss z");
+ return formatter.format(cal.getTime());
+ } else {
+ return value.toString();
+ }
+ }
+
+ private String xhtmlAsString(XhtmlContent xhtmlContent) {
+ String textValue = ProrXhtmlSimplifiedHelper
+ .xhtmlToSimplifiedString(xhtmlContent);
+ try {
+ String xhtmlString = ReqIF10XhtmlUtil
+ .getXhtmlString(xhtmlContent);
+ xhtmlString = xhtmlString.replace("<xhtml:", "<");
+ xhtmlString = xhtmlString.replace("</xhtml:", "</");
+ textValue = xhtmlString;
+
+ // Find and extract embedded images.
+ Document dom = ReqIF10XhtmlUtil.getXhtmlDom(xhtmlContent);
+ NodeList tags = dom.getElementsByTagName("xhtml:object");
+ for (int i = 0; i < tags.getLength(); i++) {
+ Node xhtmlNode = tags.item(i);
+ Node dataNode = xhtmlNode.getAttributes().getNamedItem("data");
+ if (dataNode != null) {
+ String filename = dataNode.getTextContent();
+ copyEmbeddedObject(filename);
+ }
+ }
+
+
+ } catch (IOException e) {
+ }
+ return textValue;
+ }
+
+ /**
+ * Copy the source file identified by the given filename. This method may
+ * fail silently to prevent interuption of the HTML printing.
+ */
+ private void copyEmbeddedObject(String filename) {
+ File fullSourceFolder = sourceFolder;
+ File fullTargetFolder = targetFolder;
+
+ StringTokenizer st = new StringTokenizer(filename, "/");
+ String token = null;
+ while (st.hasMoreTokens()) {
+ token = st.nextToken();
+ if (! st.hasMoreTokens()) break;
+ fullSourceFolder = new File (fullSourceFolder, token);
+ fullTargetFolder = new File(fullTargetFolder, token);
+ fullTargetFolder.mkdir();
+ }
+
+ File source = new File(fullSourceFolder, token);
+ File target = new File(fullTargetFolder, token);
+ try {
+ Files.copy(source, target);
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ private String listAsString(Object value) {
+ String textValue = "";
+ for (Iterator<?> i = ((List<?>) ((List<?>) value)).iterator(); i
+ .hasNext();) {
+ EnumValue enumValue = (EnumValue) i.next();
+ textValue += enumValue.getLongName();
+ if (i.hasNext()) {
+ textValue += ", ";
+ }
+ }
+ return textValue;
+ }
+
+}
diff --git a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/ProrEditorUtil.java b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/ProrEditorUtil.java
index 546eeaa..0e8ea48 100644
--- a/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/ProrEditorUtil.java
+++ b/org.eclipse.rmf.reqif10.pror.editor/src/org/eclipse/rmf/reqif10/pror/editor/util/ProrEditorUtil.java
@@ -11,7 +11,9 @@
package org.eclipse.rmf.reqif10.pror.editor.util;
import java.io.IOException;
+import java.text.SimpleDateFormat;
import java.util.ArrayList;
+import java.util.GregorianCalendar;
import java.util.Iterator;
import java.util.List;
@@ -19,24 +21,33 @@
import org.eclipse.emf.common.command.CommandWrapper;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.rmf.reqif10.AttributeValue;
import org.eclipse.rmf.reqif10.DatatypeDefinition;
import org.eclipse.rmf.reqif10.EnumValue;
+import org.eclipse.rmf.reqif10.ReqIF;
import org.eclipse.rmf.reqif10.SpecHierarchy;
import org.eclipse.rmf.reqif10.SpecObject;
import org.eclipse.rmf.reqif10.Specification;
import org.eclipse.rmf.reqif10.XhtmlContent;
+import org.eclipse.rmf.reqif10.common.util.ProrXhtmlSimplifiedHelper;
import org.eclipse.rmf.reqif10.common.util.ReqIF10Util;
import org.eclipse.rmf.reqif10.common.util.ReqIF10XhtmlUtil;
import org.eclipse.rmf.reqif10.pror.configuration.Column;
import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
+import org.eclipse.rmf.reqif10.pror.editor.IReqifEditor;
+import org.eclipse.rmf.reqif10.pror.editor.ISpecificationEditor;
import org.eclipse.rmf.reqif10.pror.editor.presentation.service.IProrCellRenderer;
import org.eclipse.rmf.reqif10.pror.editor.presentation.service.PresentationEditorInterface;
import org.eclipse.rmf.reqif10.pror.util.ConfigurationUtil;
import org.eclipse.rmf.reqif10.pror.util.ProrUtil;
-import org.eclipse.rmf.reqif10.pror.util.ProrXhtmlSimplifiedHelper;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorReference;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.PlatformUI;
public class ProrEditorUtil {
@@ -45,7 +56,7 @@
StringBuilder sb = new StringBuilder();
String title = ConfigurationUtil.getSpecElementLabel(spec,
adapterFactory);
-
+
sb.append("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n");
sb.append("<html>\n");
sb.append("<head>\n");
@@ -92,6 +103,10 @@
textValue = xhtmlString;
} catch (IOException e) {
}
+ } else if (value instanceof GregorianCalendar) {
+ GregorianCalendar cal = (GregorianCalendar)value;
+ SimpleDateFormat formatter=new SimpleDateFormat("yyyy-MMM-dd hh:mm:ss z");
+ textValue = formatter.format(cal.getTime());
} else {
textValue = value.toString();
}
@@ -115,8 +130,19 @@
html.append("<div style='margin-left: " + (indent * 20)
+ "px;'>");
}
- AttributeValue av = ReqIF10Util.getAttributeValueForLabel(
- specObject, col.getLabel());
+
+ AttributeValue av;
+ if (col instanceof UnifiedColumn) {
+ av = ReqIF10Util.getAttributeValueForLabel(
+ specObject, "ReqIF.Text");
+ if (av == null || ReqIF10Util.getTheValue(av) == null) {
+ av = ReqIF10Util.getAttributeValueForLabel(
+ specObject, "ReqIF.ChapterName");
+ }
+ } else {
+ av = ReqIF10Util.getAttributeValueForLabel(
+ specObject, col.getLabel());
+ }
DatatypeDefinition dd = ReqIF10Util
.getDatatypeDefinition(av);
ProrPresentationConfiguration configuration = ConfigurationUtil
@@ -190,4 +216,59 @@
};
}
+ /**
+ * Attempts to find the {@link IReqifEditor} or {@link ISpecificationEditor}
+ * for the given EObject by walking up the parent hierarchy to the enclosing
+ * {@link ReqIF} or {@link Specification}. If the {@link IReqifEditor} is
+ * found for a Specification, the corresponding editor will be opened.
+ *
+ * @return the Editor or null if none found.
+ */
+ public static IEditorPart getEditor(EObject eObject) {
+ ReqIF reqif = null;
+ Specification spec = null;
+ while (eObject != null) {
+ if (eObject instanceof Specification) {
+ spec = (Specification) eObject;
+ }
+ if (eObject instanceof ReqIF) {
+ reqif = (ReqIF) eObject;
+ break;
+ }
+ eObject = eObject.eContainer();
+ }
+ if (reqif == null) return null;
+
+ // Find the editor(s)
+ IWorkbenchPage activePage = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+ .getActivePage();
+
+ IEditorReference[] eRefs = activePage.getEditorReferences();
+ for (IEditorReference eRef : eRefs) {
+ IEditorPart editor = eRef.getEditor(false);
+ if (editor instanceof ISpecificationEditor) {
+ ISpecificationEditor specEditor = (ISpecificationEditor) editor;
+
+ // Case 1: We found the right SpecificationEditor
+ if (specEditor.getSpecification().equals(spec)) {
+ return specEditor;
+ }
+ }
+ if (editor instanceof IReqifEditor) {
+ IReqifEditor reqifEditor = (IReqifEditor) editor;
+ if (reqifEditor.getReqif().equals(reqif)) {
+
+ // Case 2: We found the right Reqif10Editor
+ if (spec == null) return reqifEditor;
+
+ // Case 3: We found the Reqif10Editor, but need the SpecificationEditor
+ return reqifEditor.openSpecEditor(spec);
+ }
+ }
+ }
+ // Case 4: Nothing found
+ return null;
+ }
+
+
}
diff --git a/org.eclipse.rmf.reqif10.pror.genhtml/META-INF/MANIFEST.MF b/org.eclipse.rmf.reqif10.pror.genhtml/META-INF/MANIFEST.MF
index 977ea8a..e726b6a 100644
--- a/org.eclipse.rmf.reqif10.pror.genhtml/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.reqif10.pror.genhtml/META-INF/MANIFEST.MF
@@ -7,12 +7,12 @@
Bundle-Activator: org.eclipse.rmf.reqif10.pror.genhtml.Activator
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.rmf.reqif10;bundle-version="0.9.0",
- org.eclipse.rmf.serialization;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.headline;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.id;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.linewrap;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.editor;bundle-version="0.9.0",
- org.eclipse.rmf.reqif10.serialization;bundle-version="0.9.0"
+ org.eclipse.rmf.reqif10.serialization;bundle-version="0.9.0",
+ org.eclipse.sphinx.emf.serialization;bundle-version="0.8.1"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: %providerName
diff --git a/org.eclipse.rmf.reqif10.pror.genhtml/src/org/eclipse/rmf/reqif10/pror/genhtml/GenerateHtml.java b/org.eclipse.rmf.reqif10.pror.genhtml/src/org/eclipse/rmf/reqif10/pror/genhtml/GenerateHtml.java
index 27403de..ee07cdf 100644
--- a/org.eclipse.rmf.reqif10.pror.genhtml/src/org/eclipse/rmf/reqif10/pror/genhtml/GenerateHtml.java
+++ b/org.eclipse.rmf.reqif10.pror.genhtml/src/org/eclipse/rmf/reqif10/pror/genhtml/GenerateHtml.java
@@ -38,7 +38,7 @@
import org.eclipse.rmf.reqif10.pror.provider.ReqIF10ItemProviderAdapterFactory;
import org.eclipse.rmf.reqif10.serialization.ReqIF10ResourceFactoryImpl;
import org.eclipse.rmf.reqif10.serialization.ReqIF10ResourceImpl;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceSetImpl;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResourceSetImpl;
/**
* Standalone-executable class that is used to non-interactively generate HTML
diff --git a/org.eclipse.rmf.reqif10.pror.presentation.id/src/org/eclipse/rmf/reqif10/pror/presentation/id/provider/IdConfigurationItemProvider.java b/org.eclipse.rmf.reqif10.pror.presentation.id/src/org/eclipse/rmf/reqif10/pror/presentation/id/provider/IdConfigurationItemProvider.java
index 7c817c2..cda07f5 100644
--- a/org.eclipse.rmf.reqif10.pror.presentation.id/src/org/eclipse/rmf/reqif10/pror/presentation/id/provider/IdConfigurationItemProvider.java
+++ b/org.eclipse.rmf.reqif10.pror.presentation.id/src/org/eclipse/rmf/reqif10/pror/presentation/id/provider/IdConfigurationItemProvider.java
@@ -60,12 +60,14 @@
* This is the item provider adapter for a {@link org.eclipse.rmf.reqif10.pror.presentation.id.IdConfiguration} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
+ * @generated NOT
*/
public class IdConfigurationItemProvider
extends ProrPresentationConfigurationItemProvider
implements
- IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ IEditingDomainItemProvider, IStructuredItemContentProvider,
+ ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource,
+ PresentationEditorInterface {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
diff --git a/org.eclipse.rmf.reqif10.pror.tests/META-INF/MANIFEST.MF b/org.eclipse.rmf.reqif10.pror.tests/META-INF/MANIFEST.MF
index e36c9aa..d57dd96 100644
--- a/org.eclipse.rmf.reqif10.pror.tests/META-INF/MANIFEST.MF
+++ b/org.eclipse.rmf.reqif10.pror.tests/META-INF/MANIFEST.MF
@@ -9,14 +9,14 @@
org.eclipse.ui,
org.eclipse.core.resources,
org.eclipse.core.runtime,
- org.eclipse.rmf.serialization;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.editor;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.headline;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.id;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.pror.presentation.linewrap;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.xhtml;bundle-version="0.9.0",
org.eclipse.rmf.reqif10.serialization;bundle-version="0.9.0",
- org.eclipse.rmf.ext.prostep
+ org.eclipse.rmf.ext.prostep,
+ org.eclipse.sphinx.emf.serialization;bundle-version="0.8.1"
Bundle-Vendor: %providerName
Export-Package: org.eclipse.rmf.reqif10.pror.configuration.provider,or
g.eclipse.rmf.reqif10.pror.testdata,org.eclipse.rmf.reqif10.pror.test
diff --git a/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/pror/testframework/AbstractItemProviderTest.java b/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/pror/testframework/AbstractItemProviderTest.java
index 996ce86..9b2c93e 100644
--- a/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/pror/testframework/AbstractItemProviderTest.java
+++ b/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/pror/testframework/AbstractItemProviderTest.java
@@ -46,7 +46,7 @@
import org.eclipse.rmf.reqif10.pror.testdata.TestData;
import org.eclipse.rmf.reqif10.serialization.ReqIF10ResourceFactoryImpl;
import org.eclipse.rmf.reqif10.serialization.ReqIF10ResourceImpl;
-import org.eclipse.rmf.serialization.XMLPersistenceMappingResourceSetImpl;
+import org.eclipse.sphinx.emf.serialization.XMLPersistenceMappingResourceSetImpl;
import org.junit.After;
import org.junit.Before;
diff --git a/org.eclipse.rmf.reqif10.pror/model/HOW_TO_GENERATE.txt b/org.eclipse.rmf.reqif10.pror/model/HOW_TO_GENERATE.txt
index 3169777..77c0830 100644
--- a/org.eclipse.rmf.reqif10.pror/model/HOW_TO_GENERATE.txt
+++ b/org.eclipse.rmf.reqif10.pror/model/HOW_TO_GENERATE.txt
@@ -12,6 +12,7 @@
a. Select "Configuration"
b. Right-Click "Generate Model Code"
+ c. Remove Package Exports that produce errors.
2. Configuration ItemProviders
diff --git a/org.eclipse.rmf.reqif10.pror/model/configuration.ecore b/org.eclipse.rmf.reqif10.pror/model/configuration.ecore
index bb13bcf..b2724f6 100644
--- a/org.eclipse.rmf.reqif10.pror/model/configuration.ecore
+++ b/org.eclipse.rmf.reqif10.pror/model/configuration.ecore
@@ -52,7 +52,8 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProrSpecViewConfiguration">
<eStructuralFeatures xsi:type="ecore:EReference" name="specification" lowerBound="1"
- eType="ecore:EClass ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//Specification" unsettable="true"/>
+ eType="ecore:EClass ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//Specification"
+ unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="columns" upperBound="-1"
eType="#//Column" unsettable="true" containment="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
@@ -110,7 +111,8 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProrPresentationConfiguration" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="datatype" lowerBound="1"
- eType="ecore:EClass ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//DatatypeDefinition" unsettable="true"/>
+ eType="ecore:EClass ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//DatatypeDefinition"
+ unsettable="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProrGeneralConfiguration">
<eStructuralFeatures xsi:type="ecore:EReference" name="labelConfiguration" lowerBound="1"
@@ -133,4 +135,5 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultLabel" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" unsettable="true"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="UnifiedColumn" eSuperTypes="#//Column"/>
</ecore:EPackage>
diff --git a/org.eclipse.rmf.reqif10.pror/model/reqif10.genmodel b/org.eclipse.rmf.reqif10.pror/model/reqif10.genmodel
index 2f838e5..e2ea888 100644
--- a/org.eclipse.rmf.reqif10.pror/model/reqif10.genmodel
+++ b/org.eclipse.rmf.reqif10.pror/model/reqif10.genmodel
@@ -3,10 +3,11 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.rmf.reqif10.pror/src" creationIcons="false"
modelPluginID="org.eclipse.rmf.reqif10.pror" modelName="Configuration" editPluginClass="org.eclipse.rmf.reqif10.pror.provider.Reqif10EditPlugin"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false"
- usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/XMLNamespace.genmodel#//namespace">
+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/XMLNamespace.genmodel#//namespace"
+ importOrganizing="true">
<foreignModel>configuration.ecore</foreignModel>
- <genPackages prefix="Configuration" basePackage="org.eclipse.rmf.reqif10.pror" resource="XML"
- disposableProviderFactory="true" ecorePackage="configuration.ecore#/">
+ <genPackages prefix="Configuration" basePackage="org.eclipse.rmf.reqif10.pror" disposableProviderFactory="true"
+ fileExtensions="" ecorePackage="configuration.ecore#/">
<genClasses image="false" ecoreClass="configuration.ecore#//ProrToolExtension">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference configuration.ecore#//ProrToolExtension/specViewConfigurations"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference configuration.ecore#//ProrToolExtension/generalConfiguration"/>
@@ -33,9 +34,11 @@
<genClasses image="false" ecoreClass="configuration.ecore#//LabelConfiguration">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute configuration.ecore#//LabelConfiguration/defaultLabel"/>
</genClasses>
+ <genClasses image="false" ecoreClass="configuration.ecore#//UnifiedColumn"/>
</genPackages>
- <genPackages prefix="ReqIF10" basePackage="org.eclipse.rmf" resource="XML" disposableProviderFactory="true"
- providerPackageSuffix="pror.provider" ecorePackage="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#/">
+ <genPackages prefix="ReqIF10" basePackage="org.eclipse.rmf" disposableProviderFactory="true"
+ providerPackageSuffix="pror.provider" fileExtensions="" ecorePackage="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#/">
+ <genDataTypes ecoreDataType="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//DateTime"/>
<genDataTypes ecoreDataType="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//ID"/>
<genClasses image="false" ecoreClass="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//AccessControlledElement">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//AccessControlledElement/editable"/>
@@ -217,6 +220,7 @@
</genClasses>
<genClasses image="false" ecoreClass="../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//XhtmlContent">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//XhtmlContent/xhtml"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ../../org.eclipse.rmf.reqif10/model/reqif10.ecore#//XhtmlContent/xhtmlSource"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/org.eclipse.rmf.reqif10.pror/plugin.xml b/org.eclipse.rmf.reqif10.pror/plugin.xml
index c771e21..3572a00 100644
--- a/org.eclipse.rmf.reqif10.pror/plugin.xml
+++ b/org.eclipse.rmf.reqif10.pror/plugin.xml
@@ -26,6 +26,8 @@
class="org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage"
genModel="model/reqif10.genmodel"/>
</extension>
+
+
<extension
point="org.eclipse.ui.intro">
<intro
@@ -77,7 +79,7 @@
</property>
<property
name="aboutText"
- value="ProR - Requirements Management Platform

part of the 

Eclipse Requirements Management Framework (RMF)

Version: (Incubation Submission)

(c) Copyright Formal Mind GmbH, itemis AG and others 2011. All rights reserved.
Visit http://eclipse.org/rmf">
+ value="ProR - Requirements Management Platform

part of the 

Eclipse Requirements Management Framework (RMF)

Version: (Incubation Submission)

(c) Copyright Formal Mind GmbH, itemis AG and others 2011-2014. All rights reserved.
Visit http://eclipse.org/rmf">
</property>
</product>
</extension>
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/Column.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/Column.java
index 61be870..1d818f3 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/Column.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/Column.java
@@ -1,142 +1,133 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Column</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn()
- * @model
- * @generated
- */
-public interface Column extends EObject {
- /**
- * Returns the value of the '<em><b>Label</b></em>' attribute.
- * The default value is <code>"<PLEASE SET LABEL>"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Label</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Label</em>' attribute.
- * @see #isSetLabel()
- * @see #unsetLabel()
- * @see #setLabel(String)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn_Label()
- * @model default="<PLEASE SET LABEL>" unsettable="true" required="true"
- * @generated
- */
- String getLabel();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Label</em>' attribute.
- * @see #isSetLabel()
- * @see #unsetLabel()
- * @see #getLabel()
- * @generated
- */
- void setLabel(String value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetLabel()
- * @see #getLabel()
- * @see #setLabel(String)
- * @generated
- */
- void unsetLabel();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Label</em>' attribute is set.
- * @see #unsetLabel()
- * @see #getLabel()
- * @see #setLabel(String)
- * @generated
- */
- boolean isSetLabel();
-
- /**
- * Returns the value of the '<em><b>Width</b></em>' attribute.
- * The default value is <code>"100"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Width</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Width</em>' attribute.
- * @see #isSetWidth()
- * @see #unsetWidth()
- * @see #setWidth(int)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn_Width()
- * @model default="100" unsettable="true" required="true"
- * @generated
- */
- int getWidth();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Width</em>' attribute.
- * @see #isSetWidth()
- * @see #unsetWidth()
- * @see #getWidth()
- * @generated
- */
- void setWidth(int value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetWidth()
- * @see #getWidth()
- * @see #setWidth(int)
- * @generated
- */
- void unsetWidth();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Width</em>' attribute is set.
- * @see #unsetWidth()
- * @see #getWidth()
- * @see #setWidth(int)
- * @generated
- */
- boolean isSetWidth();
-
-} // Column
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Column</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn()
+ * @model
+ * @generated
+ */
+public interface Column extends EObject {
+ /**
+ * Returns the value of the '<em><b>Label</b></em>' attribute.
+ * The default value is <code>"<PLEASE SET LABEL>"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label</em>' attribute.
+ * @see #isSetLabel()
+ * @see #unsetLabel()
+ * @see #setLabel(String)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn_Label()
+ * @model default="<PLEASE SET LABEL>" unsettable="true" required="true"
+ * @generated
+ */
+ String getLabel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label</em>' attribute.
+ * @see #isSetLabel()
+ * @see #unsetLabel()
+ * @see #getLabel()
+ * @generated
+ */
+ void setLabel(String value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetLabel()
+ * @see #getLabel()
+ * @see #setLabel(String)
+ * @generated
+ */
+ void unsetLabel();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Label</em>' attribute is set.
+ * @see #unsetLabel()
+ * @see #getLabel()
+ * @see #setLabel(String)
+ * @generated
+ */
+ boolean isSetLabel();
+
+ /**
+ * Returns the value of the '<em><b>Width</b></em>' attribute.
+ * The default value is <code>"100"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Width</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Width</em>' attribute.
+ * @see #isSetWidth()
+ * @see #unsetWidth()
+ * @see #setWidth(int)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getColumn_Width()
+ * @model default="100" unsettable="true" required="true"
+ * @generated
+ */
+ int getWidth();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Width</em>' attribute.
+ * @see #isSetWidth()
+ * @see #unsetWidth()
+ * @see #getWidth()
+ * @generated
+ */
+ void setWidth(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetWidth()
+ * @see #getWidth()
+ * @see #setWidth(int)
+ * @generated
+ */
+ void unsetWidth();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Width</em>' attribute is set.
+ * @see #unsetWidth()
+ * @see #getWidth()
+ * @see #setWidth(int)
+ * @generated
+ */
+ boolean isSetWidth();
+
+} // Column
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationFactory.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationFactory.java
index 412ed28..bd3e58c 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationFactory.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationFactory.java
@@ -1,96 +1,96 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2012 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage
- * @generated
- */
-public interface ConfigurationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ConfigurationFactory eINSTANCE = org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Pror Tool Extension</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Pror Tool Extension</em>'.
- * @generated
- */
- ProrToolExtension createProrToolExtension();
-
- /**
- * Returns a new object of class '<em>Pror Spec View Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Pror Spec View Configuration</em>'.
- * @generated
- */
- ProrSpecViewConfiguration createProrSpecViewConfiguration();
-
- /**
- * Returns a new object of class '<em>Column</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Column</em>'.
- * @generated
- */
- Column createColumn();
-
- /**
- * Returns a new object of class '<em>Pror Presentation Configurations</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Pror Presentation Configurations</em>'.
- * @generated
- */
- ProrPresentationConfigurations createProrPresentationConfigurations();
-
- /**
- * Returns a new object of class '<em>Pror General Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Pror General Configuration</em>'.
- * @generated
- */
- ProrGeneralConfiguration createProrGeneralConfiguration();
-
- /**
- * Returns a new object of class '<em>Label Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Label Configuration</em>'.
- * @generated
- */
- LabelConfiguration createLabelConfiguration();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ConfigurationPackage getConfigurationPackage();
-
-} //ConfigFactory
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage
+ * @generated
+ */
+public interface ConfigurationFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ConfigurationFactory eINSTANCE = org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Pror Tool Extension</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Pror Tool Extension</em>'.
+ * @generated
+ */
+ ProrToolExtension createProrToolExtension();
+
+ /**
+ * Returns a new object of class '<em>Pror Spec View Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Pror Spec View Configuration</em>'.
+ * @generated
+ */
+ ProrSpecViewConfiguration createProrSpecViewConfiguration();
+
+ /**
+ * Returns a new object of class '<em>Column</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Column</em>'.
+ * @generated
+ */
+ Column createColumn();
+
+ /**
+ * Returns a new object of class '<em>Pror Presentation Configurations</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Pror Presentation Configurations</em>'.
+ * @generated
+ */
+ ProrPresentationConfigurations createProrPresentationConfigurations();
+
+ /**
+ * Returns a new object of class '<em>Pror General Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Pror General Configuration</em>'.
+ * @generated
+ */
+ ProrGeneralConfiguration createProrGeneralConfiguration();
+
+ /**
+ * Returns a new object of class '<em>Label Configuration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Label Configuration</em>'.
+ * @generated
+ */
+ LabelConfiguration createLabelConfiguration();
+
+ /**
+ * Returns a new object of class '<em>Unified Column</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Unified Column</em>'.
+ * @generated
+ */
+ UnifiedColumn createUnifiedColumn();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ConfigurationPackage getConfigurationPackage();
+
+} //ConfigurationFactory
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationPackage.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationPackage.java
index 190fc73..61b1118 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationPackage.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ConfigurationPackage.java
@@ -1,701 +1,749 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory
- * @model kind="package"
- * @generated
- */
-public interface ConfigurationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "configuration";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://eclipse.org/rmf/pror/toolextensions/1.0";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "configuration";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ConfigurationPackage eINSTANCE = org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl <em>Pror Tool Extension</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrToolExtension()
- * @generated
- */
- int PROR_TOOL_EXTENSION = 0;
-
- /**
- * The feature id for the '<em><b>Spec View Configurations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS = 0;
-
- /**
- * The feature id for the '<em><b>General Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION = 1;
-
- /**
- * The feature id for the '<em><b>Presentation Configurations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS = 2;
-
- /**
- * The number of structural features of the '<em>Pror Tool Extension</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_TOOL_EXTENSION_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl <em>Pror Spec View Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrSpecViewConfiguration()
- * @generated
- */
- int PROR_SPEC_VIEW_CONFIGURATION = 1;
-
- /**
- * The feature id for the '<em><b>Specification</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION = 0;
-
- /**
- * The feature id for the '<em><b>Columns</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_SPEC_VIEW_CONFIGURATION__COLUMNS = 1;
-
- /**
- * The feature id for the '<em><b>Left Header Column</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN = 2;
-
- /**
- * The number of structural features of the '<em>Pror Spec View Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_SPEC_VIEW_CONFIGURATION_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl <em>Column</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getColumn()
- * @generated
- */
- int COLUMN = 2;
-
- /**
- * The feature id for the '<em><b>Label</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLUMN__LABEL = 0;
-
- /**
- * The feature id for the '<em><b>Width</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLUMN__WIDTH = 1;
-
- /**
- * The number of structural features of the '<em>Column</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLUMN_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl <em>Pror Presentation Configurations</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfigurations()
- * @generated
- */
- int PROR_PRESENTATION_CONFIGURATIONS = 3;
-
- /**
- * The feature id for the '<em><b>Presentation Configurations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS = 0;
-
- /**
- * The number of structural features of the '<em>Pror Presentation Configurations</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_PRESENTATION_CONFIGURATIONS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl <em>Pror Presentation Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfiguration()
- * @generated
- */
- int PROR_PRESENTATION_CONFIGURATION = 4;
-
- /**
- * The feature id for the '<em><b>Datatype</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_PRESENTATION_CONFIGURATION__DATATYPE = 0;
-
- /**
- * The number of structural features of the '<em>Pror Presentation Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_PRESENTATION_CONFIGURATION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl <em>Pror General Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrGeneralConfiguration()
- * @generated
- */
- int PROR_GENERAL_CONFIGURATION = 5;
-
- /**
- * The feature id for the '<em><b>Label Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION = 0;
-
- /**
- * The number of structural features of the '<em>Pror General Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROR_GENERAL_CONFIGURATION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl <em>Label Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getLabelConfiguration()
- * @generated
- */
- int LABEL_CONFIGURATION = 6;
-
- /**
- * The feature id for the '<em><b>Default Label</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LABEL_CONFIGURATION__DEFAULT_LABEL = 0;
-
- /**
- * The number of structural features of the '<em>Label Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LABEL_CONFIGURATION_FEATURE_COUNT = 1;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension <em>Pror Tool Extension</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Pror Tool Extension</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension
- * @generated
- */
- EClass getProrToolExtension();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Spec View Configurations</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations()
- * @see #getProrToolExtension()
- * @generated
- */
- EReference getProrToolExtension_SpecViewConfigurations();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>General Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration()
- * @see #getProrToolExtension()
- * @generated
- */
- EReference getProrToolExtension_GeneralConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Presentation Configurations</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations()
- * @see #getProrToolExtension()
- * @generated
- */
- EReference getProrToolExtension_PresentationConfigurations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration <em>Pror Spec View Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Pror Spec View Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration
- * @generated
- */
- EClass getProrSpecViewConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Specification</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification()
- * @see #getProrSpecViewConfiguration()
- * @generated
- */
- EReference getProrSpecViewConfiguration_Specification();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Columns</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns()
- * @see #getProrSpecViewConfiguration()
- * @generated
- */
- EReference getProrSpecViewConfiguration_Columns();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Left Header Column</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn()
- * @see #getProrSpecViewConfiguration()
- * @generated
- */
- EReference getProrSpecViewConfiguration_LeftHeaderColumn();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.Column <em>Column</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Column</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.Column
- * @generated
- */
- EClass getColumn();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Label</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel()
- * @see #getColumn()
- * @generated
- */
- EAttribute getColumn_Label();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Width</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth()
- * @see #getColumn()
- * @generated
- */
- EAttribute getColumn_Width();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations <em>Pror Presentation Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Pror Presentation Configurations</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations
- * @generated
- */
- EClass getProrPresentationConfigurations();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Presentation Configurations</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations()
- * @see #getProrPresentationConfigurations()
- * @generated
- */
- EReference getProrPresentationConfigurations_PresentationConfigurations();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration <em>Pror Presentation Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Pror Presentation Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration
- * @generated
- */
- EClass getProrPresentationConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Datatype</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype()
- * @see #getProrPresentationConfiguration()
- * @generated
- */
- EReference getProrPresentationConfiguration_Datatype();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration <em>Pror General Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Pror General Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration
- * @generated
- */
- EClass getProrGeneralConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Label Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration()
- * @see #getProrGeneralConfiguration()
- * @generated
- */
- EReference getProrGeneralConfiguration_LabelConfiguration();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration <em>Label Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Label Configuration</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration
- * @generated
- */
- EClass getLabelConfiguration();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Default Label</em>'.
- * @see org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel()
- * @see #getLabelConfiguration()
- * @generated
- */
- EAttribute getLabelConfiguration_DefaultLabel();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ConfigurationFactory getConfigurationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl <em>Pror Tool Extension</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrToolExtension()
- * @generated
- */
- EClass PROR_TOOL_EXTENSION = eINSTANCE.getProrToolExtension();
-
- /**
- * The meta object literal for the '<em><b>Spec View Configurations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS = eINSTANCE.getProrToolExtension_SpecViewConfigurations();
-
- /**
- * The meta object literal for the '<em><b>General Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION = eINSTANCE.getProrToolExtension_GeneralConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Presentation Configurations</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrToolExtension_PresentationConfigurations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl <em>Pror Spec View Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrSpecViewConfiguration()
- * @generated
- */
- EClass PROR_SPEC_VIEW_CONFIGURATION = eINSTANCE.getProrSpecViewConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Specification</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION = eINSTANCE.getProrSpecViewConfiguration_Specification();
-
- /**
- * The meta object literal for the '<em><b>Columns</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_SPEC_VIEW_CONFIGURATION__COLUMNS = eINSTANCE.getProrSpecViewConfiguration_Columns();
-
- /**
- * The meta object literal for the '<em><b>Left Header Column</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN = eINSTANCE.getProrSpecViewConfiguration_LeftHeaderColumn();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl <em>Column</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getColumn()
- * @generated
- */
- EClass COLUMN = eINSTANCE.getColumn();
-
- /**
- * The meta object literal for the '<em><b>Label</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute COLUMN__LABEL = eINSTANCE.getColumn_Label();
-
- /**
- * The meta object literal for the '<em><b>Width</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute COLUMN__WIDTH = eINSTANCE.getColumn_Width();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl <em>Pror Presentation Configurations</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfigurations()
- * @generated
- */
- EClass PROR_PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrPresentationConfigurations();
-
- /**
- * The meta object literal for the '<em><b>Presentation Configurations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrPresentationConfigurations_PresentationConfigurations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl <em>Pror Presentation Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfiguration()
- * @generated
- */
- EClass PROR_PRESENTATION_CONFIGURATION = eINSTANCE.getProrPresentationConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Datatype</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_PRESENTATION_CONFIGURATION__DATATYPE = eINSTANCE.getProrPresentationConfiguration_Datatype();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl <em>Pror General Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrGeneralConfiguration()
- * @generated
- */
- EClass PROR_GENERAL_CONFIGURATION = eINSTANCE.getProrGeneralConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Label Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION = eINSTANCE.getProrGeneralConfiguration_LabelConfiguration();
-
- /**
- * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl <em>Label Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl
- * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getLabelConfiguration()
- * @generated
- */
- EClass LABEL_CONFIGURATION = eINSTANCE.getLabelConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Default Label</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LABEL_CONFIGURATION__DEFAULT_LABEL = eINSTANCE.getLabelConfiguration_DefaultLabel();
-
- }
-
-} //ConfigPackage
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface ConfigurationPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "configuration";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://eclipse.org/rmf/pror/toolextensions/1.0";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "configuration";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ConfigurationPackage eINSTANCE = org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl <em>Pror Tool Extension</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrToolExtension()
+ * @generated
+ */
+ int PROR_TOOL_EXTENSION = 0;
+
+ /**
+ * The feature id for the '<em><b>Spec View Configurations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS = 0;
+
+ /**
+ * The feature id for the '<em><b>General Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Presentation Configurations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS = 2;
+
+ /**
+ * The number of structural features of the '<em>Pror Tool Extension</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_TOOL_EXTENSION_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl <em>Pror Spec View Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrSpecViewConfiguration()
+ * @generated
+ */
+ int PROR_SPEC_VIEW_CONFIGURATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION = 0;
+
+ /**
+ * The feature id for the '<em><b>Columns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_SPEC_VIEW_CONFIGURATION__COLUMNS = 1;
+
+ /**
+ * The feature id for the '<em><b>Left Header Column</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN = 2;
+
+ /**
+ * The number of structural features of the '<em>Pror Spec View Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_SPEC_VIEW_CONFIGURATION_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl <em>Column</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getColumn()
+ * @generated
+ */
+ int COLUMN = 2;
+
+ /**
+ * The feature id for the '<em><b>Label</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLUMN__LABEL = 0;
+
+ /**
+ * The feature id for the '<em><b>Width</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLUMN__WIDTH = 1;
+
+ /**
+ * The number of structural features of the '<em>Column</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COLUMN_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl <em>Pror Presentation Configurations</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfigurations()
+ * @generated
+ */
+ int PROR_PRESENTATION_CONFIGURATIONS = 3;
+
+ /**
+ * The feature id for the '<em><b>Presentation Configurations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS = 0;
+
+ /**
+ * The number of structural features of the '<em>Pror Presentation Configurations</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_PRESENTATION_CONFIGURATIONS_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl <em>Pror Presentation Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfiguration()
+ * @generated
+ */
+ int PROR_PRESENTATION_CONFIGURATION = 4;
+
+ /**
+ * The feature id for the '<em><b>Datatype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_PRESENTATION_CONFIGURATION__DATATYPE = 0;
+
+ /**
+ * The number of structural features of the '<em>Pror Presentation Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_PRESENTATION_CONFIGURATION_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl <em>Pror General Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrGeneralConfiguration()
+ * @generated
+ */
+ int PROR_GENERAL_CONFIGURATION = 5;
+
+ /**
+ * The feature id for the '<em><b>Label Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION = 0;
+
+ /**
+ * The number of structural features of the '<em>Pror General Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROR_GENERAL_CONFIGURATION_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl <em>Label Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getLabelConfiguration()
+ * @generated
+ */
+ int LABEL_CONFIGURATION = 6;
+
+ /**
+ * The feature id for the '<em><b>Default Label</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL_CONFIGURATION__DEFAULT_LABEL = 0;
+
+ /**
+ * The number of structural features of the '<em>Label Configuration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LABEL_CONFIGURATION_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.UnifiedColumnImpl <em>Unified Column</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.UnifiedColumnImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getUnifiedColumn()
+ * @generated
+ */
+ int UNIFIED_COLUMN = 7;
+
+ /**
+ * The feature id for the '<em><b>Label</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNIFIED_COLUMN__LABEL = COLUMN__LABEL;
+
+ /**
+ * The feature id for the '<em><b>Width</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNIFIED_COLUMN__WIDTH = COLUMN__WIDTH;
+
+ /**
+ * The number of structural features of the '<em>Unified Column</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNIFIED_COLUMN_FEATURE_COUNT = COLUMN_FEATURE_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension <em>Pror Tool Extension</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Pror Tool Extension</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension
+ * @generated
+ */
+ EClass getProrToolExtension();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Spec View Configurations</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations()
+ * @see #getProrToolExtension()
+ * @generated
+ */
+ EReference getProrToolExtension_SpecViewConfigurations();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>General Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration()
+ * @see #getProrToolExtension()
+ * @generated
+ */
+ EReference getProrToolExtension_GeneralConfiguration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Presentation Configurations</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations()
+ * @see #getProrToolExtension()
+ * @generated
+ */
+ EReference getProrToolExtension_PresentationConfigurations();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration <em>Pror Spec View Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Pror Spec View Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration
+ * @generated
+ */
+ EClass getProrSpecViewConfiguration();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Specification</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification()
+ * @see #getProrSpecViewConfiguration()
+ * @generated
+ */
+ EReference getProrSpecViewConfiguration_Specification();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Columns</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns()
+ * @see #getProrSpecViewConfiguration()
+ * @generated
+ */
+ EReference getProrSpecViewConfiguration_Columns();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Left Header Column</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn()
+ * @see #getProrSpecViewConfiguration()
+ * @generated
+ */
+ EReference getProrSpecViewConfiguration_LeftHeaderColumn();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.Column <em>Column</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Column</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.Column
+ * @generated
+ */
+ EClass getColumn();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel <em>Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Label</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.Column#getLabel()
+ * @see #getColumn()
+ * @generated
+ */
+ EAttribute getColumn_Label();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth <em>Width</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Width</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.Column#getWidth()
+ * @see #getColumn()
+ * @generated
+ */
+ EAttribute getColumn_Width();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations <em>Pror Presentation Configurations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Pror Presentation Configurations</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations
+ * @generated
+ */
+ EClass getProrPresentationConfigurations();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Presentation Configurations</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations()
+ * @see #getProrPresentationConfigurations()
+ * @generated
+ */
+ EReference getProrPresentationConfigurations_PresentationConfigurations();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration <em>Pror Presentation Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Pror Presentation Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration
+ * @generated
+ */
+ EClass getProrPresentationConfiguration();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Datatype</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype()
+ * @see #getProrPresentationConfiguration()
+ * @generated
+ */
+ EReference getProrPresentationConfiguration_Datatype();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration <em>Pror General Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Pror General Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration
+ * @generated
+ */
+ EClass getProrGeneralConfiguration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Label Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration()
+ * @see #getProrGeneralConfiguration()
+ * @generated
+ */
+ EReference getProrGeneralConfiguration_LabelConfiguration();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration <em>Label Configuration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Label Configuration</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration
+ * @generated
+ */
+ EClass getLabelConfiguration();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Default Label</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel()
+ * @see #getLabelConfiguration()
+ * @generated
+ */
+ EAttribute getLabelConfiguration_DefaultLabel();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn <em>Unified Column</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Unified Column</em>'.
+ * @see org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn
+ * @generated
+ */
+ EClass getUnifiedColumn();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ ConfigurationFactory getConfigurationFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl <em>Pror Tool Extension</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrToolExtension()
+ * @generated
+ */
+ EClass PROR_TOOL_EXTENSION = eINSTANCE.getProrToolExtension();
+
+ /**
+ * The meta object literal for the '<em><b>Spec View Configurations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS = eINSTANCE.getProrToolExtension_SpecViewConfigurations();
+
+ /**
+ * The meta object literal for the '<em><b>General Configuration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION = eINSTANCE.getProrToolExtension_GeneralConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Presentation Configurations</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrToolExtension_PresentationConfigurations();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl <em>Pror Spec View Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrSpecViewConfiguration()
+ * @generated
+ */
+ EClass PROR_SPEC_VIEW_CONFIGURATION = eINSTANCE.getProrSpecViewConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Specification</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION = eINSTANCE.getProrSpecViewConfiguration_Specification();
+
+ /**
+ * The meta object literal for the '<em><b>Columns</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_SPEC_VIEW_CONFIGURATION__COLUMNS = eINSTANCE.getProrSpecViewConfiguration_Columns();
+
+ /**
+ * The meta object literal for the '<em><b>Left Header Column</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN = eINSTANCE.getProrSpecViewConfiguration_LeftHeaderColumn();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl <em>Column</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getColumn()
+ * @generated
+ */
+ EClass COLUMN = eINSTANCE.getColumn();
+
+ /**
+ * The meta object literal for the '<em><b>Label</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COLUMN__LABEL = eINSTANCE.getColumn_Label();
+
+ /**
+ * The meta object literal for the '<em><b>Width</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COLUMN__WIDTH = eINSTANCE.getColumn_Width();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl <em>Pror Presentation Configurations</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfigurations()
+ * @generated
+ */
+ EClass PROR_PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrPresentationConfigurations();
+
+ /**
+ * The meta object literal for the '<em><b>Presentation Configurations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS = eINSTANCE.getProrPresentationConfigurations_PresentationConfigurations();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl <em>Pror Presentation Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrPresentationConfiguration()
+ * @generated
+ */
+ EClass PROR_PRESENTATION_CONFIGURATION = eINSTANCE.getProrPresentationConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Datatype</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_PRESENTATION_CONFIGURATION__DATATYPE = eINSTANCE.getProrPresentationConfiguration_Datatype();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl <em>Pror General Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getProrGeneralConfiguration()
+ * @generated
+ */
+ EClass PROR_GENERAL_CONFIGURATION = eINSTANCE.getProrGeneralConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Label Configuration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION = eINSTANCE.getProrGeneralConfiguration_LabelConfiguration();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl <em>Label Configuration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getLabelConfiguration()
+ * @generated
+ */
+ EClass LABEL_CONFIGURATION = eINSTANCE.getLabelConfiguration();
+
+ /**
+ * The meta object literal for the '<em><b>Default Label</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute LABEL_CONFIGURATION__DEFAULT_LABEL = eINSTANCE.getLabelConfiguration_DefaultLabel();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.rmf.reqif10.pror.configuration.impl.UnifiedColumnImpl <em>Unified Column</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.UnifiedColumnImpl
+ * @see org.eclipse.rmf.reqif10.pror.configuration.impl.ConfigurationPackageImpl#getUnifiedColumn()
+ * @generated
+ */
+ EClass UNIFIED_COLUMN = eINSTANCE.getUnifiedColumn();
+
+ }
+
+} //ConfigurationPackage
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/LabelConfiguration.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/LabelConfiguration.java
index 8aaf38f..f641334 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/LabelConfiguration.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/LabelConfiguration.java
@@ -1,73 +1,65 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Label Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getLabelConfiguration()
- * @model
- * @generated
- */
-public interface LabelConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Default Label</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Label</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Label</em>' attribute list.
- * @see #isSetDefaultLabel()
- * @see #unsetDefaultLabel()
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getLabelConfiguration_DefaultLabel()
- * @model unsettable="true"
- * @generated
- */
- EList<String> getDefaultLabel();
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetDefaultLabel()
- * @see #getDefaultLabel()
- * @generated
- */
- void unsetDefaultLabel();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}' attribute list is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Default Label</em>' attribute list is set.
- * @see #unsetDefaultLabel()
- * @see #getDefaultLabel()
- * @generated
- */
- boolean isSetDefaultLabel();
-
-} // LabelConfiguration
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Label Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getLabelConfiguration()
+ * @model
+ * @generated
+ */
+public interface LabelConfiguration extends EObject {
+ /**
+ * Returns the value of the '<em><b>Default Label</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Label</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Label</em>' attribute list.
+ * @see #isSetDefaultLabel()
+ * @see #unsetDefaultLabel()
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getLabelConfiguration_DefaultLabel()
+ * @model unsettable="true"
+ * @generated
+ */
+ EList<String> getDefaultLabel();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDefaultLabel()
+ * @see #getDefaultLabel()
+ * @generated
+ */
+ void unsetDefaultLabel();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration#getDefaultLabel <em>Default Label</em>}' attribute list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Default Label</em>' attribute list is set.
+ * @see #unsetDefaultLabel()
+ * @see #getDefaultLabel()
+ * @generated
+ */
+ boolean isSetDefaultLabel();
+
+} // LabelConfiguration
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrGeneralConfiguration.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrGeneralConfiguration.java
index a9e964b..61659be 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrGeneralConfiguration.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrGeneralConfiguration.java
@@ -1,88 +1,79 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Pror General Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrGeneralConfiguration()
- * @model
- * @generated
- */
-public interface ProrGeneralConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Label Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Label Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Label Configuration</em>' containment reference.
- * @see #isSetLabelConfiguration()
- * @see #unsetLabelConfiguration()
- * @see #setLabelConfiguration(LabelConfiguration)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrGeneralConfiguration_LabelConfiguration()
- * @model containment="true" unsettable="true" required="true"
- * extendedMetaData="name='labelConfiguration' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='labelConfiguration' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- LabelConfiguration getLabelConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Label Configuration</em>' containment reference.
- * @see #isSetLabelConfiguration()
- * @see #unsetLabelConfiguration()
- * @see #getLabelConfiguration()
- * @generated
- */
- void setLabelConfiguration(LabelConfiguration value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetLabelConfiguration()
- * @see #getLabelConfiguration()
- * @see #setLabelConfiguration(LabelConfiguration)
- * @generated
- */
- void unsetLabelConfiguration();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Label Configuration</em>' containment reference is set.
- * @see #unsetLabelConfiguration()
- * @see #getLabelConfiguration()
- * @see #setLabelConfiguration(LabelConfiguration)
- * @generated
- */
- boolean isSetLabelConfiguration();
-
-} // ProrGeneralConfiguration
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Pror General Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrGeneralConfiguration()
+ * @model
+ * @generated
+ */
+public interface ProrGeneralConfiguration extends EObject {
+ /**
+ * Returns the value of the '<em><b>Label Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Label Configuration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Label Configuration</em>' containment reference.
+ * @see #isSetLabelConfiguration()
+ * @see #unsetLabelConfiguration()
+ * @see #setLabelConfiguration(LabelConfiguration)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrGeneralConfiguration_LabelConfiguration()
+ * @model containment="true" unsettable="true" required="true"
+ * extendedMetaData="name='labelConfiguration' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='labelConfiguration' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ LabelConfiguration getLabelConfiguration();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Label Configuration</em>' containment reference.
+ * @see #isSetLabelConfiguration()
+ * @see #unsetLabelConfiguration()
+ * @see #getLabelConfiguration()
+ * @generated
+ */
+ void setLabelConfiguration(LabelConfiguration value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetLabelConfiguration()
+ * @see #getLabelConfiguration()
+ * @see #setLabelConfiguration(LabelConfiguration)
+ * @generated
+ */
+ void unsetLabelConfiguration();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration#getLabelConfiguration <em>Label Configuration</em>}' containment reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Label Configuration</em>' containment reference is set.
+ * @see #unsetLabelConfiguration()
+ * @see #getLabelConfiguration()
+ * @see #setLabelConfiguration(LabelConfiguration)
+ * @generated
+ */
+ boolean isSetLabelConfiguration();
+
+} // ProrGeneralConfiguration
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfiguration.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfiguration.java
index 827e1d8..6c53708 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfiguration.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfiguration.java
@@ -1,87 +1,79 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.rmf.reqif10.DatatypeDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Pror Presentation Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfiguration()
- * @model abstract="true"
- * @generated
- */
-public interface ProrPresentationConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Datatype</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Datatype</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Datatype</em>' reference.
- * @see #isSetDatatype()
- * @see #unsetDatatype()
- * @see #setDatatype(DatatypeDefinition)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfiguration_Datatype()
- * @model unsettable="true" required="true"
- * @generated
- */
- DatatypeDefinition getDatatype();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Datatype</em>' reference.
- * @see #isSetDatatype()
- * @see #unsetDatatype()
- * @see #getDatatype()
- * @generated
- */
- void setDatatype(DatatypeDefinition value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetDatatype()
- * @see #getDatatype()
- * @see #setDatatype(DatatypeDefinition)
- * @generated
- */
- void unsetDatatype();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Datatype</em>' reference is set.
- * @see #unsetDatatype()
- * @see #getDatatype()
- * @see #setDatatype(DatatypeDefinition)
- * @generated
- */
- boolean isSetDatatype();
-
-} // ProrPresentationConfiguration
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.rmf.reqif10.DatatypeDefinition;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Pror Presentation Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfiguration()
+ * @model abstract="true"
+ * @generated
+ */
+public interface ProrPresentationConfiguration extends EObject {
+ /**
+ * Returns the value of the '<em><b>Datatype</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Datatype</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Datatype</em>' reference.
+ * @see #isSetDatatype()
+ * @see #unsetDatatype()
+ * @see #setDatatype(DatatypeDefinition)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfiguration_Datatype()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ DatatypeDefinition getDatatype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datatype</em>' reference.
+ * @see #isSetDatatype()
+ * @see #unsetDatatype()
+ * @see #getDatatype()
+ * @generated
+ */
+ void setDatatype(DatatypeDefinition value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDatatype()
+ * @see #getDatatype()
+ * @see #setDatatype(DatatypeDefinition)
+ * @generated
+ */
+ void unsetDatatype();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration#getDatatype <em>Datatype</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Datatype</em>' reference is set.
+ * @see #unsetDatatype()
+ * @see #getDatatype()
+ * @see #setDatatype(DatatypeDefinition)
+ * @generated
+ */
+ boolean isSetDatatype();
+
+} // ProrPresentationConfiguration
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfigurations.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfigurations.java
index ebfe44e..d2633f1 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfigurations.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrPresentationConfigurations.java
@@ -1,75 +1,67 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Pror Presentation Configurations</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfigurations()
- * @model
- * @generated
- */
-public interface ProrPresentationConfigurations extends EObject {
- /**
- * Returns the value of the '<em><b>Presentation Configurations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Presentation Configurations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Presentation Configurations</em>' containment reference list.
- * @see #isSetPresentationConfigurations()
- * @see #unsetPresentationConfigurations()
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfigurations_PresentationConfigurations()
- * @model containment="true" unsettable="true"
- * extendedMetaData="name='presentationConfigurations' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='presentationConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- EList<ProrPresentationConfiguration> getPresentationConfigurations();
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetPresentationConfigurations()
- * @see #getPresentationConfigurations()
- * @generated
- */
- void unsetPresentationConfigurations();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference list is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Presentation Configurations</em>' containment reference list is set.
- * @see #unsetPresentationConfigurations()
- * @see #getPresentationConfigurations()
- * @generated
- */
- boolean isSetPresentationConfigurations();
-
-} // ProrPresentationConfigurations
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Pror Presentation Configurations</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfigurations()
+ * @model
+ * @generated
+ */
+public interface ProrPresentationConfigurations extends EObject {
+ /**
+ * Returns the value of the '<em><b>Presentation Configurations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Presentation Configurations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Presentation Configurations</em>' containment reference list.
+ * @see #isSetPresentationConfigurations()
+ * @see #unsetPresentationConfigurations()
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrPresentationConfigurations_PresentationConfigurations()
+ * @model containment="true" unsettable="true"
+ * extendedMetaData="name='presentationConfigurations' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='presentationConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ EList<ProrPresentationConfiguration> getPresentationConfigurations();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetPresentationConfigurations()
+ * @see #getPresentationConfigurations()
+ * @generated
+ */
+ void unsetPresentationConfigurations();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Presentation Configurations</em>' containment reference list is set.
+ * @see #unsetPresentationConfigurations()
+ * @see #getPresentationConfigurations()
+ * @generated
+ */
+ boolean isSetPresentationConfigurations();
+
+} // ProrPresentationConfigurations
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrSpecViewConfiguration.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrSpecViewConfiguration.java
index 8a29546..57dca79 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrSpecViewConfiguration.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrSpecViewConfiguration.java
@@ -1,186 +1,179 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.rmf.reqif10.Specification;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Pror Spec View Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration()
- * @model
- * @generated
- */
-public interface ProrSpecViewConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Specification</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Specification</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Specification</em>' reference.
- * @see #isSetSpecification()
- * @see #unsetSpecification()
- * @see #setSpecification(Specification)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_Specification()
- * @model unsettable="true" required="true"
- * @generated
- */
- Specification getSpecification();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Specification</em>' reference.
- * @see #isSetSpecification()
- * @see #unsetSpecification()
- * @see #getSpecification()
- * @generated
- */
- void setSpecification(Specification value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetSpecification()
- * @see #getSpecification()
- * @see #setSpecification(Specification)
- * @generated
- */
- void unsetSpecification();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Specification</em>' reference is set.
- * @see #unsetSpecification()
- * @see #getSpecification()
- * @see #setSpecification(Specification)
- * @generated
- */
- boolean isSetSpecification();
-
- /**
- * Returns the value of the '<em><b>Columns</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.Column}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Columns</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Columns</em>' containment reference list.
- * @see #isSetColumns()
- * @see #unsetColumns()
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_Columns()
- * @model containment="true" unsettable="true"
- * extendedMetaData="name='columns' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='columns' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- EList<Column> getColumns();
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetColumns()
- * @see #getColumns()
- * @generated
- */
- void unsetColumns();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}' containment reference list is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Columns</em>' containment reference list is set.
- * @see #unsetColumns()
- * @see #getColumns()
- * @generated
- */
- boolean isSetColumns();
-
- /**
- * Returns the value of the '<em><b>Left Header Column</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Left Header Column</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Left Header Column</em>' containment reference.
- * @see #isSetLeftHeaderColumn()
- * @see #unsetLeftHeaderColumn()
- * @see #setLeftHeaderColumn(Column)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_LeftHeaderColumn()
- * @model containment="true" unsettable="true" required="true"
- * extendedMetaData="name='leftHeaderColumn' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='leftHeaderColumn' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- Column getLeftHeaderColumn();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Left Header Column</em>' containment reference.
- * @see #isSetLeftHeaderColumn()
- * @see #unsetLeftHeaderColumn()
- * @see #getLeftHeaderColumn()
- * @generated
- */
- void setLeftHeaderColumn(Column value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetLeftHeaderColumn()
- * @see #getLeftHeaderColumn()
- * @see #setLeftHeaderColumn(Column)
- * @generated
- */
- void unsetLeftHeaderColumn();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Left Header Column</em>' containment reference is set.
- * @see #unsetLeftHeaderColumn()
- * @see #getLeftHeaderColumn()
- * @see #setLeftHeaderColumn(Column)
- * @generated
- */
- boolean isSetLeftHeaderColumn();
-
-} // ProrSpecViewConfiguration
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.rmf.reqif10.Specification;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Pror Spec View Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration()
+ * @model
+ * @generated
+ */
+public interface ProrSpecViewConfiguration extends EObject {
+ /**
+ * Returns the value of the '<em><b>Specification</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Specification</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Specification</em>' reference.
+ * @see #isSetSpecification()
+ * @see #unsetSpecification()
+ * @see #setSpecification(Specification)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_Specification()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ Specification getSpecification();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Specification</em>' reference.
+ * @see #isSetSpecification()
+ * @see #unsetSpecification()
+ * @see #getSpecification()
+ * @generated
+ */
+ void setSpecification(Specification value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetSpecification()
+ * @see #getSpecification()
+ * @see #setSpecification(Specification)
+ * @generated
+ */
+ void unsetSpecification();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getSpecification <em>Specification</em>}' reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Specification</em>' reference is set.
+ * @see #unsetSpecification()
+ * @see #getSpecification()
+ * @see #setSpecification(Specification)
+ * @generated
+ */
+ boolean isSetSpecification();
+
+ /**
+ * Returns the value of the '<em><b>Columns</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.Column}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Columns</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Columns</em>' containment reference list.
+ * @see #isSetColumns()
+ * @see #unsetColumns()
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_Columns()
+ * @model containment="true" unsettable="true"
+ * extendedMetaData="name='columns' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='columns' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ EList<Column> getColumns();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetColumns()
+ * @see #getColumns()
+ * @generated
+ */
+ void unsetColumns();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getColumns <em>Columns</em>}' containment reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Columns</em>' containment reference list is set.
+ * @see #unsetColumns()
+ * @see #getColumns()
+ * @generated
+ */
+ boolean isSetColumns();
+
+ /**
+ * Returns the value of the '<em><b>Left Header Column</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Left Header Column</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Left Header Column</em>' containment reference.
+ * @see #isSetLeftHeaderColumn()
+ * @see #unsetLeftHeaderColumn()
+ * @see #setLeftHeaderColumn(Column)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrSpecViewConfiguration_LeftHeaderColumn()
+ * @model containment="true" unsettable="true" required="true"
+ * extendedMetaData="name='leftHeaderColumn' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='leftHeaderColumn' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ Column getLeftHeaderColumn();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Left Header Column</em>' containment reference.
+ * @see #isSetLeftHeaderColumn()
+ * @see #unsetLeftHeaderColumn()
+ * @see #getLeftHeaderColumn()
+ * @generated
+ */
+ void setLeftHeaderColumn(Column value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetLeftHeaderColumn()
+ * @see #getLeftHeaderColumn()
+ * @see #setLeftHeaderColumn(Column)
+ * @generated
+ */
+ void unsetLeftHeaderColumn();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration#getLeftHeaderColumn <em>Left Header Column</em>}' containment reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Left Header Column</em>' containment reference is set.
+ * @see #unsetLeftHeaderColumn()
+ * @see #getLeftHeaderColumn()
+ * @see #setLeftHeaderColumn(Column)
+ * @generated
+ */
+ boolean isSetLeftHeaderColumn();
+
+} // ProrSpecViewConfiguration
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrToolExtension.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrToolExtension.java
index 294283c..b2e98aa 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrToolExtension.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/ProrToolExtension.java
@@ -1,187 +1,179 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Pror Tool Extension</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension()
- * @model
- * @generated
- */
-public interface ProrToolExtension extends EObject {
- /**
- * Returns the value of the '<em><b>Spec View Configurations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Spec View Configurations</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Spec View Configurations</em>' containment reference list.
- * @see #isSetSpecViewConfigurations()
- * @see #unsetSpecViewConfigurations()
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_SpecViewConfigurations()
- * @model containment="true" unsettable="true"
- * extendedMetaData="name='specViewConfigurations' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='specViewConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- EList<ProrSpecViewConfiguration> getSpecViewConfigurations();
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetSpecViewConfigurations()
- * @see #getSpecViewConfigurations()
- * @generated
- */
- void unsetSpecViewConfigurations();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}' containment reference list is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Spec View Configurations</em>' containment reference list is set.
- * @see #unsetSpecViewConfigurations()
- * @see #getSpecViewConfigurations()
- * @generated
- */
- boolean isSetSpecViewConfigurations();
-
- /**
- * Returns the value of the '<em><b>General Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>General Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>General Configuration</em>' containment reference.
- * @see #isSetGeneralConfiguration()
- * @see #unsetGeneralConfiguration()
- * @see #setGeneralConfiguration(ProrGeneralConfiguration)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_GeneralConfiguration()
- * @model containment="true" unsettable="true" required="true"
- * extendedMetaData="name='generalConfiguration' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='generalConfiguration' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- ProrGeneralConfiguration getGeneralConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>General Configuration</em>' containment reference.
- * @see #isSetGeneralConfiguration()
- * @see #unsetGeneralConfiguration()
- * @see #getGeneralConfiguration()
- * @generated
- */
- void setGeneralConfiguration(ProrGeneralConfiguration value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetGeneralConfiguration()
- * @see #getGeneralConfiguration()
- * @see #setGeneralConfiguration(ProrGeneralConfiguration)
- * @generated
- */
- void unsetGeneralConfiguration();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>General Configuration</em>' containment reference is set.
- * @see #unsetGeneralConfiguration()
- * @see #getGeneralConfiguration()
- * @see #setGeneralConfiguration(ProrGeneralConfiguration)
- * @generated
- */
- boolean isSetGeneralConfiguration();
-
- /**
- * Returns the value of the '<em><b>Presentation Configurations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Presentation Configurations</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Presentation Configurations</em>' containment reference.
- * @see #isSetPresentationConfigurations()
- * @see #unsetPresentationConfigurations()
- * @see #setPresentationConfigurations(ProrPresentationConfigurations)
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_PresentationConfigurations()
- * @model containment="true" unsettable="true" required="true"
- * extendedMetaData="name='presentationConfigurations' kind='element' namespace='##targetNamespace'"
- * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='presentationConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
- * @generated
- */
- ProrPresentationConfigurations getPresentationConfigurations();
-
- /**
- * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Presentation Configurations</em>' containment reference.
- * @see #isSetPresentationConfigurations()
- * @see #unsetPresentationConfigurations()
- * @see #getPresentationConfigurations()
- * @generated
- */
- void setPresentationConfigurations(ProrPresentationConfigurations value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetPresentationConfigurations()
- * @see #getPresentationConfigurations()
- * @see #setPresentationConfigurations(ProrPresentationConfigurations)
- * @generated
- */
- void unsetPresentationConfigurations();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Presentation Configurations</em>' containment reference is set.
- * @see #unsetPresentationConfigurations()
- * @see #getPresentationConfigurations()
- * @see #setPresentationConfigurations(ProrPresentationConfigurations)
- * @generated
- */
- boolean isSetPresentationConfigurations();
-
-} // ProrToolExtension
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Pror Tool Extension</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension()
+ * @model
+ * @generated
+ */
+public interface ProrToolExtension extends EObject {
+ /**
+ * Returns the value of the '<em><b>Spec View Configurations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Spec View Configurations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Spec View Configurations</em>' containment reference list.
+ * @see #isSetSpecViewConfigurations()
+ * @see #unsetSpecViewConfigurations()
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_SpecViewConfigurations()
+ * @model containment="true" unsettable="true"
+ * extendedMetaData="name='specViewConfigurations' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='specViewConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ EList<ProrSpecViewConfiguration> getSpecViewConfigurations();
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetSpecViewConfigurations()
+ * @see #getSpecViewConfigurations()
+ * @generated
+ */
+ void unsetSpecViewConfigurations();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getSpecViewConfigurations <em>Spec View Configurations</em>}' containment reference list is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Spec View Configurations</em>' containment reference list is set.
+ * @see #unsetSpecViewConfigurations()
+ * @see #getSpecViewConfigurations()
+ * @generated
+ */
+ boolean isSetSpecViewConfigurations();
+
+ /**
+ * Returns the value of the '<em><b>General Configuration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>General Configuration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>General Configuration</em>' containment reference.
+ * @see #isSetGeneralConfiguration()
+ * @see #unsetGeneralConfiguration()
+ * @see #setGeneralConfiguration(ProrGeneralConfiguration)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_GeneralConfiguration()
+ * @model containment="true" unsettable="true" required="true"
+ * extendedMetaData="name='generalConfiguration' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='generalConfiguration' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ ProrGeneralConfiguration getGeneralConfiguration();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>General Configuration</em>' containment reference.
+ * @see #isSetGeneralConfiguration()
+ * @see #unsetGeneralConfiguration()
+ * @see #getGeneralConfiguration()
+ * @generated
+ */
+ void setGeneralConfiguration(ProrGeneralConfiguration value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetGeneralConfiguration()
+ * @see #getGeneralConfiguration()
+ * @see #setGeneralConfiguration(ProrGeneralConfiguration)
+ * @generated
+ */
+ void unsetGeneralConfiguration();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getGeneralConfiguration <em>General Configuration</em>}' containment reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>General Configuration</em>' containment reference is set.
+ * @see #unsetGeneralConfiguration()
+ * @see #getGeneralConfiguration()
+ * @see #setGeneralConfiguration(ProrGeneralConfiguration)
+ * @generated
+ */
+ boolean isSetGeneralConfiguration();
+
+ /**
+ * Returns the value of the '<em><b>Presentation Configurations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Presentation Configurations</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Presentation Configurations</em>' containment reference.
+ * @see #isSetPresentationConfigurations()
+ * @see #unsetPresentationConfigurations()
+ * @see #setPresentationConfigurations(ProrPresentationConfigurations)
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getProrToolExtension_PresentationConfigurations()
+ * @model containment="true" unsettable="true" required="true"
+ * extendedMetaData="name='presentationConfigurations' kind='element' namespace='##targetNamespace'"
+ * annotation="http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData wrapperName='presentationConfigurations' featureWrapperElement='true' featureElement='false' classifierWrapperElement='false' classifierElement='true'"
+ * @generated
+ */
+ ProrPresentationConfigurations getPresentationConfigurations();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Presentation Configurations</em>' containment reference.
+ * @see #isSetPresentationConfigurations()
+ * @see #unsetPresentationConfigurations()
+ * @see #getPresentationConfigurations()
+ * @generated
+ */
+ void setPresentationConfigurations(ProrPresentationConfigurations value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetPresentationConfigurations()
+ * @see #getPresentationConfigurations()
+ * @see #setPresentationConfigurations(ProrPresentationConfigurations)
+ * @generated
+ */
+ void unsetPresentationConfigurations();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension#getPresentationConfigurations <em>Presentation Configurations</em>}' containment reference is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Presentation Configurations</em>' containment reference is set.
+ * @see #unsetPresentationConfigurations()
+ * @see #getPresentationConfigurations()
+ * @see #setPresentationConfigurations(ProrPresentationConfigurations)
+ * @generated
+ */
+ boolean isSetPresentationConfigurations();
+
+} // ProrToolExtension
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/UnifiedColumn.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/UnifiedColumn.java
new file mode 100644
index 0000000..0fdd17a
--- /dev/null
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/UnifiedColumn.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Unified Column</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#getUnifiedColumn()
+ * @model
+ * @generated
+ */
+public interface UnifiedColumn extends Column {
+} // UnifiedColumn
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ColumnImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ColumnImpl.java
index 0299cb5..2452c35 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ColumnImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ColumnImpl.java
@@ -1,291 +1,285 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.rmf.reqif10.pror.configuration.Column;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Column</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl#getLabel <em>Label</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl#getWidth <em>Width</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ColumnImpl extends EObjectImpl implements Column {
- /**
- * The default value of the '{@link #getLabel() <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLabel()
- * @generated
- * @ordered
- */
- protected static final String LABEL_EDEFAULT = "<PLEASE SET LABEL>";
-
- /**
- * The cached value of the '{@link #getLabel() <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLabel()
- * @generated
- * @ordered
- */
- protected String label = LABEL_EDEFAULT;
-
- /**
- * This is true if the Label attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean labelESet;
-
- /**
- * The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getWidth()
- * @generated
- * @ordered
- */
- protected static final int WIDTH_EDEFAULT = 100;
-
- /**
- * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getWidth()
- * @generated
- * @ordered
- */
- protected int width = WIDTH_EDEFAULT;
-
- /**
- * This is true if the Width attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean widthESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ColumnImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.COLUMN;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLabel() {
- return label;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLabel(String newLabel) {
- String oldLabel = label;
- label = newLabel;
- boolean oldLabelESet = labelESet;
- labelESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.COLUMN__LABEL, oldLabel, label, !oldLabelESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetLabel() {
- String oldLabel = label;
- boolean oldLabelESet = labelESet;
- label = LABEL_EDEFAULT;
- labelESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.COLUMN__LABEL, oldLabel, LABEL_EDEFAULT, oldLabelESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetLabel() {
- return labelESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getWidth() {
- return width;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setWidth(int newWidth) {
- int oldWidth = width;
- width = newWidth;
- boolean oldWidthESet = widthESet;
- widthESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.COLUMN__WIDTH, oldWidth, width, !oldWidthESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetWidth() {
- int oldWidth = width;
- boolean oldWidthESet = widthESet;
- width = WIDTH_EDEFAULT;
- widthESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.COLUMN__WIDTH, oldWidth, WIDTH_EDEFAULT, oldWidthESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetWidth() {
- return widthESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.COLUMN__LABEL:
- return getLabel();
- case ConfigurationPackage.COLUMN__WIDTH:
- return getWidth();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.COLUMN__LABEL:
- setLabel((String)newValue);
- return;
- case ConfigurationPackage.COLUMN__WIDTH:
- setWidth((Integer)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.COLUMN__LABEL:
- unsetLabel();
- return;
- case ConfigurationPackage.COLUMN__WIDTH:
- unsetWidth();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.COLUMN__LABEL:
- return isSetLabel();
- case ConfigurationPackage.COLUMN__WIDTH:
- return isSetWidth();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (label: ");
- if (labelESet) result.append(label); else result.append("<unset>");
- result.append(", width: ");
- if (widthESet) result.append(width); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //ColumnImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.rmf.reqif10.pror.configuration.Column;
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Column</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl#getLabel <em>Label</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ColumnImpl#getWidth <em>Width</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ColumnImpl extends EObjectImpl implements Column {
+ /**
+ * The default value of the '{@link #getLabel() <em>Label</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabel()
+ * @generated
+ * @ordered
+ */
+ protected static final String LABEL_EDEFAULT = "<PLEASE SET LABEL>";
+
+ /**
+ * The cached value of the '{@link #getLabel() <em>Label</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabel()
+ * @generated
+ * @ordered
+ */
+ protected String label = LABEL_EDEFAULT;
+
+ /**
+ * This is true if the Label attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean labelESet;
+
+ /**
+ * The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWidth()
+ * @generated
+ * @ordered
+ */
+ protected static final int WIDTH_EDEFAULT = 100;
+
+ /**
+ * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWidth()
+ * @generated
+ * @ordered
+ */
+ protected int width = WIDTH_EDEFAULT;
+
+ /**
+ * This is true if the Width attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean widthESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ColumnImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.COLUMN;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabel(String newLabel) {
+ String oldLabel = label;
+ label = newLabel;
+ boolean oldLabelESet = labelESet;
+ labelESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.COLUMN__LABEL, oldLabel, label, !oldLabelESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetLabel() {
+ String oldLabel = label;
+ boolean oldLabelESet = labelESet;
+ label = LABEL_EDEFAULT;
+ labelESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.COLUMN__LABEL, oldLabel, LABEL_EDEFAULT, oldLabelESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetLabel() {
+ return labelESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWidth() {
+ return width;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWidth(int newWidth) {
+ int oldWidth = width;
+ width = newWidth;
+ boolean oldWidthESet = widthESet;
+ widthESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.COLUMN__WIDTH, oldWidth, width, !oldWidthESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWidth() {
+ int oldWidth = width;
+ boolean oldWidthESet = widthESet;
+ width = WIDTH_EDEFAULT;
+ widthESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.COLUMN__WIDTH, oldWidth, WIDTH_EDEFAULT, oldWidthESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWidth() {
+ return widthESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.COLUMN__LABEL:
+ return getLabel();
+ case ConfigurationPackage.COLUMN__WIDTH:
+ return getWidth();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.COLUMN__LABEL:
+ setLabel((String)newValue);
+ return;
+ case ConfigurationPackage.COLUMN__WIDTH:
+ setWidth((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.COLUMN__LABEL:
+ unsetLabel();
+ return;
+ case ConfigurationPackage.COLUMN__WIDTH:
+ unsetWidth();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.COLUMN__LABEL:
+ return isSetLabel();
+ case ConfigurationPackage.COLUMN__WIDTH:
+ return isSetWidth();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (label: ");
+ if (labelESet) result.append(label); else result.append("<unset>");
+ result.append(", width: ");
+ if (widthESet) result.append(width); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //ColumnImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationFactoryImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationFactoryImpl.java
index 7592504..f5251b7 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationFactoryImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationFactoryImpl.java
@@ -1,163 +1,161 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.rmf.reqif10.pror.configuration.Column;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigurationFactoryImpl extends EFactoryImpl implements ConfigurationFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ConfigurationFactory init() {
- try {
- ConfigurationFactory theConfigurationFactory = (ConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory("http://eclipse.org/rmf/pror/toolextensions/1.0");
- if (theConfigurationFactory != null) {
- return theConfigurationFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ConfigurationFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION: return createProrToolExtension();
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION: return createProrSpecViewConfiguration();
- case ConfigurationPackage.COLUMN: return createColumn();
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS: return createProrPresentationConfigurations();
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION: return createProrGeneralConfiguration();
- case ConfigurationPackage.LABEL_CONFIGURATION: return createLabelConfiguration();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrToolExtension createProrToolExtension() {
- ProrToolExtensionImpl prorToolExtension = new ProrToolExtensionImpl();
- return prorToolExtension;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrSpecViewConfiguration createProrSpecViewConfiguration() {
- ProrSpecViewConfigurationImpl prorSpecViewConfiguration = new ProrSpecViewConfigurationImpl();
- return prorSpecViewConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Column createColumn() {
- ColumnImpl column = new ColumnImpl();
- return column;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrPresentationConfigurations createProrPresentationConfigurations() {
- ProrPresentationConfigurationsImpl prorPresentationConfigurations = new ProrPresentationConfigurationsImpl();
- return prorPresentationConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrGeneralConfiguration createProrGeneralConfiguration() {
- ProrGeneralConfigurationImpl prorGeneralConfiguration = new ProrGeneralConfigurationImpl();
- return prorGeneralConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LabelConfiguration createLabelConfiguration() {
- LabelConfigurationImpl labelConfiguration = new LabelConfigurationImpl();
- return labelConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationPackage getConfigurationPackage() {
- return (ConfigurationPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ConfigurationPackage getPackage() {
- return ConfigurationPackage.eINSTANCE;
- }
-
-} //ConfigFactoryImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.rmf.reqif10.pror.configuration.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ConfigurationFactoryImpl extends EFactoryImpl implements ConfigurationFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ConfigurationFactory init() {
+ try {
+ ConfigurationFactory theConfigurationFactory = (ConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ConfigurationPackage.eNS_URI);
+ if (theConfigurationFactory != null) {
+ return theConfigurationFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ConfigurationFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConfigurationFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case ConfigurationPackage.PROR_TOOL_EXTENSION: return createProrToolExtension();
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION: return createProrSpecViewConfiguration();
+ case ConfigurationPackage.COLUMN: return createColumn();
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS: return createProrPresentationConfigurations();
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION: return createProrGeneralConfiguration();
+ case ConfigurationPackage.LABEL_CONFIGURATION: return createLabelConfiguration();
+ case ConfigurationPackage.UNIFIED_COLUMN: return createUnifiedColumn();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrToolExtension createProrToolExtension() {
+ ProrToolExtensionImpl prorToolExtension = new ProrToolExtensionImpl();
+ return prorToolExtension;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrSpecViewConfiguration createProrSpecViewConfiguration() {
+ ProrSpecViewConfigurationImpl prorSpecViewConfiguration = new ProrSpecViewConfigurationImpl();
+ return prorSpecViewConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Column createColumn() {
+ ColumnImpl column = new ColumnImpl();
+ return column;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrPresentationConfigurations createProrPresentationConfigurations() {
+ ProrPresentationConfigurationsImpl prorPresentationConfigurations = new ProrPresentationConfigurationsImpl();
+ return prorPresentationConfigurations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrGeneralConfiguration createProrGeneralConfiguration() {
+ ProrGeneralConfigurationImpl prorGeneralConfiguration = new ProrGeneralConfigurationImpl();
+ return prorGeneralConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LabelConfiguration createLabelConfiguration() {
+ LabelConfigurationImpl labelConfiguration = new LabelConfigurationImpl();
+ return labelConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UnifiedColumn createUnifiedColumn() {
+ UnifiedColumnImpl unifiedColumn = new UnifiedColumnImpl();
+ return unifiedColumn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConfigurationPackage getConfigurationPackage() {
+ return (ConfigurationPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ConfigurationPackage getPackage() {
+ return ConfigurationPackage.eINSTANCE;
+ }
+
+} //ConfigurationFactoryImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationPackageImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationPackageImpl.java
index 29210fe..5241e2c 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationPackageImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ConfigurationPackageImpl.java
@@ -1,599 +1,616 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.emf.ecore.xml.namespace.XMLNamespacePackage;
-import org.eclipse.rmf.reqif10.ReqIF10Package;
-import org.eclipse.rmf.reqif10.impl.ReqIF10PackageImpl;
-import org.eclipse.rmf.reqif10.pror.configuration.Column;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigurationPackageImpl extends EPackageImpl implements ConfigurationPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass prorToolExtensionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass prorSpecViewConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass columnEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass prorPresentationConfigurationsEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass prorPresentationConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass prorGeneralConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass labelConfigurationEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ConfigurationPackageImpl() {
- super(eNS_URI, ConfigurationFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link ConfigurationPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ConfigurationPackage init() {
- if (isInited) return (ConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
-
- // Obtain or create and register package
- ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLNamespacePackage.eINSTANCE.eClass();
-
- // Obtain or create and register interdependencies
- ReqIF10PackageImpl theReqIF10Package = (ReqIF10PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI) instanceof ReqIF10PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI) : ReqIF10Package.eINSTANCE);
-
- // Create package meta-data objects
- theConfigurationPackage.createPackageContents();
- theReqIF10Package.createPackageContents();
-
- // Initialize created meta-data
- theConfigurationPackage.initializePackageContents();
- theReqIF10Package.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theConfigurationPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ConfigurationPackage.eNS_URI, theConfigurationPackage);
- return theConfigurationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProrToolExtension() {
- return prorToolExtensionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrToolExtension_SpecViewConfigurations() {
- return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrToolExtension_GeneralConfiguration() {
- return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrToolExtension_PresentationConfigurations() {
- return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProrSpecViewConfiguration() {
- return prorSpecViewConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrSpecViewConfiguration_Specification() {
- return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrSpecViewConfiguration_Columns() {
- return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrSpecViewConfiguration_LeftHeaderColumn() {
- return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getColumn() {
- return columnEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getColumn_Label() {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getColumn_Width() {
- return (EAttribute)columnEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProrPresentationConfigurations() {
- return prorPresentationConfigurationsEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrPresentationConfigurations_PresentationConfigurations() {
- return (EReference)prorPresentationConfigurationsEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProrPresentationConfiguration() {
- return prorPresentationConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrPresentationConfiguration_Datatype() {
- return (EReference)prorPresentationConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProrGeneralConfiguration() {
- return prorGeneralConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProrGeneralConfiguration_LabelConfiguration() {
- return (EReference)prorGeneralConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLabelConfiguration() {
- return labelConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLabelConfiguration_DefaultLabel() {
- return (EAttribute)labelConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationFactory getConfigurationFactory() {
- return (ConfigurationFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- prorToolExtensionEClass = createEClass(PROR_TOOL_EXTENSION);
- createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS);
- createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION);
- createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS);
-
- prorSpecViewConfigurationEClass = createEClass(PROR_SPEC_VIEW_CONFIGURATION);
- createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION);
- createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__COLUMNS);
- createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN);
-
- columnEClass = createEClass(COLUMN);
- createEAttribute(columnEClass, COLUMN__LABEL);
- createEAttribute(columnEClass, COLUMN__WIDTH);
-
- prorPresentationConfigurationsEClass = createEClass(PROR_PRESENTATION_CONFIGURATIONS);
- createEReference(prorPresentationConfigurationsEClass, PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS);
-
- prorPresentationConfigurationEClass = createEClass(PROR_PRESENTATION_CONFIGURATION);
- createEReference(prorPresentationConfigurationEClass, PROR_PRESENTATION_CONFIGURATION__DATATYPE);
-
- prorGeneralConfigurationEClass = createEClass(PROR_GENERAL_CONFIGURATION);
- createEReference(prorGeneralConfigurationEClass, PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION);
-
- labelConfigurationEClass = createEClass(LABEL_CONFIGURATION);
- createEAttribute(labelConfigurationEClass, LABEL_CONFIGURATION__DEFAULT_LABEL);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- ReqIF10Package theReqIF10Package = (ReqIF10Package)EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(prorToolExtensionEClass, ProrToolExtension.class, "ProrToolExtension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProrToolExtension_SpecViewConfigurations(), this.getProrSpecViewConfiguration(), null, "specViewConfigurations", null, 0, -1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getProrToolExtension_GeneralConfiguration(), this.getProrGeneralConfiguration(), null, "generalConfiguration", null, 1, 1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getProrToolExtension_PresentationConfigurations(), this.getProrPresentationConfigurations(), null, "presentationConfigurations", null, 1, 1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(prorSpecViewConfigurationEClass, ProrSpecViewConfiguration.class, "ProrSpecViewConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProrSpecViewConfiguration_Specification(), theReqIF10Package.getSpecification(), null, "specification", null, 1, 1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getProrSpecViewConfiguration_Columns(), this.getColumn(), null, "columns", null, 0, -1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getProrSpecViewConfiguration_LeftHeaderColumn(), this.getColumn(), null, "leftHeaderColumn", null, 1, 1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(columnEClass, Column.class, "Column", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getColumn_Label(), ecorePackage.getEString(), "label", "<PLEASE SET LABEL>", 1, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getColumn_Width(), ecorePackage.getEInt(), "width", "100", 1, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(prorPresentationConfigurationsEClass, ProrPresentationConfigurations.class, "ProrPresentationConfigurations", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProrPresentationConfigurations_PresentationConfigurations(), this.getProrPresentationConfiguration(), null, "presentationConfigurations", null, 0, -1, ProrPresentationConfigurations.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(prorPresentationConfigurationEClass, ProrPresentationConfiguration.class, "ProrPresentationConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProrPresentationConfiguration_Datatype(), theReqIF10Package.getDatatypeDefinition(), null, "datatype", null, 1, 1, ProrPresentationConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(prorGeneralConfigurationEClass, ProrGeneralConfiguration.class, "ProrGeneralConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProrGeneralConfiguration_LabelConfiguration(), this.getLabelConfiguration(), null, "labelConfiguration", null, 1, 1, ProrGeneralConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(labelConfigurationEClass, LabelConfiguration.class, "LabelConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getLabelConfiguration_DefaultLabel(), ecorePackage.getEString(), "defaultLabel", null, 0, -1, LabelConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- // http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData
- createXMLPersistenceMappingExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (getProrToolExtension_SpecViewConfigurations(),
- source,
- new String[] {
- "name", "specViewConfigurations",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrToolExtension_GeneralConfiguration(),
- source,
- new String[] {
- "name", "generalConfiguration",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrToolExtension_PresentationConfigurations(),
- source,
- new String[] {
- "name", "presentationConfigurations",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrSpecViewConfiguration_Columns(),
- source,
- new String[] {
- "name", "columns",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrSpecViewConfiguration_LeftHeaderColumn(),
- source,
- new String[] {
- "name", "leftHeaderColumn",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrPresentationConfigurations_PresentationConfigurations(),
- source,
- new String[] {
- "name", "presentationConfigurations",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getProrGeneralConfiguration_LabelConfiguration(),
- source,
- new String[] {
- "name", "labelConfiguration",
- "kind", "element",
- "namespace", "##targetNamespace"
- });
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createXMLPersistenceMappingExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData";
- addAnnotation
- (getProrToolExtension_SpecViewConfigurations(),
- source,
- new String[] {
- "wrapperName", "specViewConfigurations",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrToolExtension_GeneralConfiguration(),
- source,
- new String[] {
- "wrapperName", "generalConfiguration",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrToolExtension_PresentationConfigurations(),
- source,
- new String[] {
- "wrapperName", "presentationConfigurations",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrSpecViewConfiguration_Columns(),
- source,
- new String[] {
- "wrapperName", "columns",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrSpecViewConfiguration_LeftHeaderColumn(),
- source,
- new String[] {
- "wrapperName", "leftHeaderColumn",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrPresentationConfigurations_PresentationConfigurations(),
- source,
- new String[] {
- "wrapperName", "presentationConfigurations",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- addAnnotation
- (getProrGeneralConfiguration_LabelConfiguration(),
- source,
- new String[] {
- "wrapperName", "labelConfiguration",
- "featureWrapperElement", "true",
- "featureElement", "false",
- "classifierWrapperElement", "false",
- "classifierElement", "true"
- });
- }
-
-} //ConfigPackageImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.namespace.XMLNamespacePackage;
+
+import org.eclipse.rmf.reqif10.ReqIF10Package;
+
+import org.eclipse.rmf.reqif10.impl.ReqIF10PackageImpl;
+
+import org.eclipse.rmf.reqif10.pror.configuration.Column;
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationFactory;
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
+import org.eclipse.rmf.reqif10.pror.configuration.UnifiedColumn;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ConfigurationPackageImpl extends EPackageImpl implements ConfigurationPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass prorToolExtensionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass prorSpecViewConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass columnEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass prorPresentationConfigurationsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass prorPresentationConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass prorGeneralConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass labelConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass unifiedColumnEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ConfigurationPackageImpl() {
+ super(eNS_URI, ConfigurationFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link ConfigurationPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static ConfigurationPackage init() {
+ if (isInited) return (ConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
+
+ // Obtain or create and register package
+ ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLNamespacePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ ReqIF10PackageImpl theReqIF10Package = (ReqIF10PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI) instanceof ReqIF10PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI) : ReqIF10Package.eINSTANCE);
+
+ // Create package meta-data objects
+ theConfigurationPackage.createPackageContents();
+ theReqIF10Package.createPackageContents();
+
+ // Initialize created meta-data
+ theConfigurationPackage.initializePackageContents();
+ theReqIF10Package.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theConfigurationPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(ConfigurationPackage.eNS_URI, theConfigurationPackage);
+ return theConfigurationPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProrToolExtension() {
+ return prorToolExtensionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrToolExtension_SpecViewConfigurations() {
+ return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrToolExtension_GeneralConfiguration() {
+ return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrToolExtension_PresentationConfigurations() {
+ return (EReference)prorToolExtensionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProrSpecViewConfiguration() {
+ return prorSpecViewConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrSpecViewConfiguration_Specification() {
+ return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrSpecViewConfiguration_Columns() {
+ return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrSpecViewConfiguration_LeftHeaderColumn() {
+ return (EReference)prorSpecViewConfigurationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getColumn() {
+ return columnEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getColumn_Label() {
+ return (EAttribute)columnEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getColumn_Width() {
+ return (EAttribute)columnEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProrPresentationConfigurations() {
+ return prorPresentationConfigurationsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrPresentationConfigurations_PresentationConfigurations() {
+ return (EReference)prorPresentationConfigurationsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProrPresentationConfiguration() {
+ return prorPresentationConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrPresentationConfiguration_Datatype() {
+ return (EReference)prorPresentationConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProrGeneralConfiguration() {
+ return prorGeneralConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProrGeneralConfiguration_LabelConfiguration() {
+ return (EReference)prorGeneralConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLabelConfiguration() {
+ return labelConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getLabelConfiguration_DefaultLabel() {
+ return (EAttribute)labelConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUnifiedColumn() {
+ return unifiedColumnEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConfigurationFactory getConfigurationFactory() {
+ return (ConfigurationFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ prorToolExtensionEClass = createEClass(PROR_TOOL_EXTENSION);
+ createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS);
+ createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION);
+ createEReference(prorToolExtensionEClass, PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS);
+
+ prorSpecViewConfigurationEClass = createEClass(PROR_SPEC_VIEW_CONFIGURATION);
+ createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION);
+ createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__COLUMNS);
+ createEReference(prorSpecViewConfigurationEClass, PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN);
+
+ columnEClass = createEClass(COLUMN);
+ createEAttribute(columnEClass, COLUMN__LABEL);
+ createEAttribute(columnEClass, COLUMN__WIDTH);
+
+ prorPresentationConfigurationsEClass = createEClass(PROR_PRESENTATION_CONFIGURATIONS);
+ createEReference(prorPresentationConfigurationsEClass, PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS);
+
+ prorPresentationConfigurationEClass = createEClass(PROR_PRESENTATION_CONFIGURATION);
+ createEReference(prorPresentationConfigurationEClass, PROR_PRESENTATION_CONFIGURATION__DATATYPE);
+
+ prorGeneralConfigurationEClass = createEClass(PROR_GENERAL_CONFIGURATION);
+ createEReference(prorGeneralConfigurationEClass, PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION);
+
+ labelConfigurationEClass = createEClass(LABEL_CONFIGURATION);
+ createEAttribute(labelConfigurationEClass, LABEL_CONFIGURATION__DEFAULT_LABEL);
+
+ unifiedColumnEClass = createEClass(UNIFIED_COLUMN);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ ReqIF10Package theReqIF10Package = (ReqIF10Package)EPackage.Registry.INSTANCE.getEPackage(ReqIF10Package.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ unifiedColumnEClass.getESuperTypes().add(this.getColumn());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(prorToolExtensionEClass, ProrToolExtension.class, "ProrToolExtension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProrToolExtension_SpecViewConfigurations(), this.getProrSpecViewConfiguration(), null, "specViewConfigurations", null, 0, -1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProrToolExtension_GeneralConfiguration(), this.getProrGeneralConfiguration(), null, "generalConfiguration", null, 1, 1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProrToolExtension_PresentationConfigurations(), this.getProrPresentationConfigurations(), null, "presentationConfigurations", null, 1, 1, ProrToolExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(prorSpecViewConfigurationEClass, ProrSpecViewConfiguration.class, "ProrSpecViewConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProrSpecViewConfiguration_Specification(), theReqIF10Package.getSpecification(), null, "specification", null, 1, 1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProrSpecViewConfiguration_Columns(), this.getColumn(), null, "columns", null, 0, -1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProrSpecViewConfiguration_LeftHeaderColumn(), this.getColumn(), null, "leftHeaderColumn", null, 1, 1, ProrSpecViewConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(columnEClass, Column.class, "Column", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getColumn_Label(), ecorePackage.getEString(), "label", "<PLEASE SET LABEL>", 1, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getColumn_Width(), ecorePackage.getEInt(), "width", "100", 1, 1, Column.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(prorPresentationConfigurationsEClass, ProrPresentationConfigurations.class, "ProrPresentationConfigurations", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProrPresentationConfigurations_PresentationConfigurations(), this.getProrPresentationConfiguration(), null, "presentationConfigurations", null, 0, -1, ProrPresentationConfigurations.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(prorPresentationConfigurationEClass, ProrPresentationConfiguration.class, "ProrPresentationConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProrPresentationConfiguration_Datatype(), theReqIF10Package.getDatatypeDefinition(), null, "datatype", null, 1, 1, ProrPresentationConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(prorGeneralConfigurationEClass, ProrGeneralConfiguration.class, "ProrGeneralConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProrGeneralConfiguration_LabelConfiguration(), this.getLabelConfiguration(), null, "labelConfiguration", null, 1, 1, ProrGeneralConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(labelConfigurationEClass, LabelConfiguration.class, "LabelConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getLabelConfiguration_DefaultLabel(), ecorePackage.getEString(), "defaultLabel", null, 0, -1, LabelConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(unifiedColumnEClass, UnifiedColumn.class, "UnifiedColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ // http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData
+ createXMLPersistenceMappingExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (getProrToolExtension_SpecViewConfigurations(),
+ source,
+ new String[] {
+ "name", "specViewConfigurations",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrToolExtension_GeneralConfiguration(),
+ source,
+ new String[] {
+ "name", "generalConfiguration",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrToolExtension_PresentationConfigurations(),
+ source,
+ new String[] {
+ "name", "presentationConfigurations",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrSpecViewConfiguration_Columns(),
+ source,
+ new String[] {
+ "name", "columns",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrSpecViewConfiguration_LeftHeaderColumn(),
+ source,
+ new String[] {
+ "name", "leftHeaderColumn",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrPresentationConfigurations_PresentationConfigurations(),
+ source,
+ new String[] {
+ "name", "presentationConfigurations",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProrGeneralConfiguration_LabelConfiguration(),
+ source,
+ new String[] {
+ "name", "labelConfiguration",
+ "kind", "element",
+ "namespace", "##targetNamespace"
+ });
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createXMLPersistenceMappingExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/sphinx/emf/serialization/XMLPersistenceMappingExtendedMetaData";
+ addAnnotation
+ (getProrToolExtension_SpecViewConfigurations(),
+ source,
+ new String[] {
+ "wrapperName", "specViewConfigurations",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrToolExtension_GeneralConfiguration(),
+ source,
+ new String[] {
+ "wrapperName", "generalConfiguration",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrToolExtension_PresentationConfigurations(),
+ source,
+ new String[] {
+ "wrapperName", "presentationConfigurations",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrSpecViewConfiguration_Columns(),
+ source,
+ new String[] {
+ "wrapperName", "columns",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrSpecViewConfiguration_LeftHeaderColumn(),
+ source,
+ new String[] {
+ "wrapperName", "leftHeaderColumn",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrPresentationConfigurations_PresentationConfigurations(),
+ source,
+ new String[] {
+ "wrapperName", "presentationConfigurations",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ addAnnotation
+ (getProrGeneralConfiguration_LabelConfiguration(),
+ source,
+ new String[] {
+ "wrapperName", "labelConfiguration",
+ "featureWrapperElement", "true",
+ "featureElement", "false",
+ "classifierWrapperElement", "false",
+ "classifierElement", "true"
+ });
+ }
+
+} //ConfigurationPackageImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/LabelConfigurationImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/LabelConfigurationImpl.java
index efd7fde..6b4ecdc 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/LabelConfigurationImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/LabelConfigurationImpl.java
@@ -1,173 +1,168 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Label Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl#getDefaultLabel <em>Default Label</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LabelConfigurationImpl extends EObjectImpl implements LabelConfiguration {
- /**
- * The cached value of the '{@link #getDefaultLabel() <em>Default Label</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultLabel()
- * @generated
- * @ordered
- */
- protected EList<String> defaultLabel;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LabelConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.LABEL_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getDefaultLabel() {
- if (defaultLabel == null) {
- defaultLabel = new EDataTypeUniqueEList.Unsettable<String>(String.class, this, ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL);
- }
- return defaultLabel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetDefaultLabel() {
- if (defaultLabel != null) ((InternalEList.Unsettable<?>)defaultLabel).unset();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetDefaultLabel() {
- return defaultLabel != null && ((InternalEList.Unsettable<?>)defaultLabel).isSet();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
- return getDefaultLabel();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
- getDefaultLabel().clear();
- getDefaultLabel().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
- unsetDefaultLabel();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
- return isSetDefaultLabel();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (defaultLabel: ");
- result.append(defaultLabel);
- result.append(')');
- return result.toString();
- }
-
-} //LabelConfigurationImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Label Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.LabelConfigurationImpl#getDefaultLabel <em>Default Label</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LabelConfigurationImpl extends EObjectImpl implements LabelConfiguration {
+ /**
+ * The cached value of the '{@link #getDefaultLabel() <em>Default Label</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultLabel()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> defaultLabel;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LabelConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.LABEL_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getDefaultLabel() {
+ if (defaultLabel == null) {
+ defaultLabel = new EDataTypeUniqueEList.Unsettable<String>(String.class, this, ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL);
+ }
+ return defaultLabel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDefaultLabel() {
+ if (defaultLabel != null) ((InternalEList.Unsettable<?>)defaultLabel).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDefaultLabel() {
+ return defaultLabel != null && ((InternalEList.Unsettable<?>)defaultLabel).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
+ return getDefaultLabel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
+ getDefaultLabel().clear();
+ getDefaultLabel().addAll((Collection<? extends String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
+ unsetDefaultLabel();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.LABEL_CONFIGURATION__DEFAULT_LABEL:
+ return isSetDefaultLabel();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (defaultLabel: ");
+ result.append(defaultLabel);
+ result.append(')');
+ return result.toString();
+ }
+
+} //LabelConfigurationImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrGeneralConfigurationImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrGeneralConfigurationImpl.java
index 28013c0..252f4b1 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrGeneralConfigurationImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrGeneralConfigurationImpl.java
@@ -1,243 +1,237 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Pror General Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl#getLabelConfiguration <em>Label Configuration</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ProrGeneralConfigurationImpl extends EObjectImpl implements ProrGeneralConfiguration {
- /**
- * The cached value of the '{@link #getLabelConfiguration() <em>Label Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLabelConfiguration()
- * @generated
- * @ordered
- */
- protected LabelConfiguration labelConfiguration;
-
- /**
- * This is true if the Label Configuration containment reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean labelConfigurationESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProrGeneralConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PROR_GENERAL_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LabelConfiguration getLabelConfiguration() {
- return labelConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLabelConfiguration(LabelConfiguration newLabelConfiguration, NotificationChain msgs) {
- LabelConfiguration oldLabelConfiguration = labelConfiguration;
- labelConfiguration = newLabelConfiguration;
- boolean oldLabelConfigurationESet = labelConfigurationESet;
- labelConfigurationESet = true;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, oldLabelConfiguration, newLabelConfiguration, !oldLabelConfigurationESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLabelConfiguration(LabelConfiguration newLabelConfiguration) {
- if (newLabelConfiguration != labelConfiguration) {
- NotificationChain msgs = null;
- if (labelConfiguration != null)
- msgs = ((InternalEObject)labelConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
- if (newLabelConfiguration != null)
- msgs = ((InternalEObject)newLabelConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
- msgs = basicSetLabelConfiguration(newLabelConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldLabelConfigurationESet = labelConfigurationESet;
- labelConfigurationESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, newLabelConfiguration, newLabelConfiguration, !oldLabelConfigurationESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicUnsetLabelConfiguration(NotificationChain msgs) {
- LabelConfiguration oldLabelConfiguration = labelConfiguration;
- labelConfiguration = null;
- boolean oldLabelConfigurationESet = labelConfigurationESet;
- labelConfigurationESet = false;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, oldLabelConfiguration, null, oldLabelConfigurationESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetLabelConfiguration() {
- if (labelConfiguration != null) {
- NotificationChain msgs = null;
- msgs = ((InternalEObject)labelConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
- msgs = basicUnsetLabelConfiguration(msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldLabelConfigurationESet = labelConfigurationESet;
- labelConfigurationESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, null, oldLabelConfigurationESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetLabelConfiguration() {
- return labelConfigurationESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
- return basicUnsetLabelConfiguration(msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
- return getLabelConfiguration();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
- setLabelConfiguration((LabelConfiguration)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
- unsetLabelConfiguration();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
- return isSetLabelConfiguration();
- }
- return super.eIsSet(featureID);
- }
-
-} //ProrGeneralConfigurationImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.LabelConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pror General Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrGeneralConfigurationImpl#getLabelConfiguration <em>Label Configuration</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProrGeneralConfigurationImpl extends EObjectImpl implements ProrGeneralConfiguration {
+ /**
+ * The cached value of the '{@link #getLabelConfiguration() <em>Label Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLabelConfiguration()
+ * @generated
+ * @ordered
+ */
+ protected LabelConfiguration labelConfiguration;
+
+ /**
+ * This is true if the Label Configuration containment reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean labelConfigurationESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProrGeneralConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.PROR_GENERAL_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LabelConfiguration getLabelConfiguration() {
+ return labelConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLabelConfiguration(LabelConfiguration newLabelConfiguration, NotificationChain msgs) {
+ LabelConfiguration oldLabelConfiguration = labelConfiguration;
+ labelConfiguration = newLabelConfiguration;
+ boolean oldLabelConfigurationESet = labelConfigurationESet;
+ labelConfigurationESet = true;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, oldLabelConfiguration, newLabelConfiguration, !oldLabelConfigurationESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLabelConfiguration(LabelConfiguration newLabelConfiguration) {
+ if (newLabelConfiguration != labelConfiguration) {
+ NotificationChain msgs = null;
+ if (labelConfiguration != null)
+ msgs = ((InternalEObject)labelConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
+ if (newLabelConfiguration != null)
+ msgs = ((InternalEObject)newLabelConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
+ msgs = basicSetLabelConfiguration(newLabelConfiguration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldLabelConfigurationESet = labelConfigurationESet;
+ labelConfigurationESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, newLabelConfiguration, newLabelConfiguration, !oldLabelConfigurationESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicUnsetLabelConfiguration(NotificationChain msgs) {
+ LabelConfiguration oldLabelConfiguration = labelConfiguration;
+ labelConfiguration = null;
+ boolean oldLabelConfigurationESet = labelConfigurationESet;
+ labelConfigurationESet = false;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, oldLabelConfiguration, null, oldLabelConfigurationESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetLabelConfiguration() {
+ if (labelConfiguration != null) {
+ NotificationChain msgs = null;
+ msgs = ((InternalEObject)labelConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, msgs);
+ msgs = basicUnsetLabelConfiguration(msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldLabelConfigurationESet = labelConfigurationESet;
+ labelConfigurationESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION, null, null, oldLabelConfigurationESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetLabelConfiguration() {
+ return labelConfigurationESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
+ return basicUnsetLabelConfiguration(msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
+ return getLabelConfiguration();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
+ setLabelConfiguration((LabelConfiguration)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
+ unsetLabelConfiguration();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_GENERAL_CONFIGURATION__LABEL_CONFIGURATION:
+ return isSetLabelConfiguration();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProrGeneralConfigurationImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationImpl.java
index 338dbc2..afff36e 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationImpl.java
@@ -1,198 +1,192 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.rmf.reqif10.DatatypeDefinition;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Pror Presentation Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl#getDatatype <em>Datatype</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ProrPresentationConfigurationImpl extends EObjectImpl implements ProrPresentationConfiguration {
- /**
- * The cached value of the '{@link #getDatatype() <em>Datatype</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDatatype()
- * @generated
- * @ordered
- */
- protected DatatypeDefinition datatype;
-
- /**
- * This is true if the Datatype reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean datatypeESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProrPresentationConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PROR_PRESENTATION_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DatatypeDefinition getDatatype() {
- if (datatype != null && datatype.eIsProxy()) {
- InternalEObject oldDatatype = (InternalEObject)datatype;
- datatype = (DatatypeDefinition)eResolveProxy(oldDatatype);
- if (datatype != oldDatatype) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, datatype));
- }
- }
- return datatype;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DatatypeDefinition basicGetDatatype() {
- return datatype;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDatatype(DatatypeDefinition newDatatype) {
- DatatypeDefinition oldDatatype = datatype;
- datatype = newDatatype;
- boolean oldDatatypeESet = datatypeESet;
- datatypeESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, datatype, !oldDatatypeESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetDatatype() {
- DatatypeDefinition oldDatatype = datatype;
- boolean oldDatatypeESet = datatypeESet;
- datatype = null;
- datatypeESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, null, oldDatatypeESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetDatatype() {
- return datatypeESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
- if (resolve) return getDatatype();
- return basicGetDatatype();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
- setDatatype((DatatypeDefinition)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
- unsetDatatype();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
- return isSetDatatype();
- }
- return super.eIsSet(featureID);
- }
-
-} //ProrPresentationConfigurationImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.rmf.reqif10.DatatypeDefinition;
+
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pror Presentation Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationImpl#getDatatype <em>Datatype</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ProrPresentationConfigurationImpl extends EObjectImpl implements ProrPresentationConfiguration {
+ /**
+ * The cached value of the '{@link #getDatatype() <em>Datatype</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatatype()
+ * @generated
+ * @ordered
+ */
+ protected DatatypeDefinition datatype;
+
+ /**
+ * This is true if the Datatype reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean datatypeESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProrPresentationConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.PROR_PRESENTATION_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatatypeDefinition getDatatype() {
+ if (datatype != null && datatype.eIsProxy()) {
+ InternalEObject oldDatatype = (InternalEObject)datatype;
+ datatype = (DatatypeDefinition)eResolveProxy(oldDatatype);
+ if (datatype != oldDatatype) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, datatype));
+ }
+ }
+ return datatype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatatypeDefinition basicGetDatatype() {
+ return datatype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatatype(DatatypeDefinition newDatatype) {
+ DatatypeDefinition oldDatatype = datatype;
+ datatype = newDatatype;
+ boolean oldDatatypeESet = datatypeESet;
+ datatypeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, datatype, !oldDatatypeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDatatype() {
+ DatatypeDefinition oldDatatype = datatype;
+ boolean oldDatatypeESet = datatypeESet;
+ datatype = null;
+ datatypeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE, oldDatatype, null, oldDatatypeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDatatype() {
+ return datatypeESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
+ if (resolve) return getDatatype();
+ return basicGetDatatype();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
+ setDatatype((DatatypeDefinition)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
+ unsetDatatype();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATION__DATATYPE:
+ return isSetDatatype();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProrPresentationConfigurationImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationsImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationsImpl.java
index e2eb43e..64dec86 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationsImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrPresentationConfigurationsImpl.java
@@ -1,174 +1,170 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Pror Presentation Configurations</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ProrPresentationConfigurationsImpl extends EObjectImpl implements ProrPresentationConfigurations {
- /**
- * The cached value of the '{@link #getPresentationConfigurations() <em>Presentation Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPresentationConfigurations()
- * @generated
- * @ordered
- */
- protected EList<ProrPresentationConfiguration> presentationConfigurations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProrPresentationConfigurationsImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PROR_PRESENTATION_CONFIGURATIONS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ProrPresentationConfiguration> getPresentationConfigurations() {
- if (presentationConfigurations == null) {
- presentationConfigurations = new EObjectContainmentEList.Unsettable<ProrPresentationConfiguration>(ProrPresentationConfiguration.class, this, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS);
- }
- return presentationConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetPresentationConfigurations() {
- if (presentationConfigurations != null) ((InternalEList.Unsettable<?>)presentationConfigurations).unset();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetPresentationConfigurations() {
- return presentationConfigurations != null && ((InternalEList.Unsettable<?>)presentationConfigurations).isSet();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
- return ((InternalEList<?>)getPresentationConfigurations()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
- return getPresentationConfigurations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
- getPresentationConfigurations().clear();
- getPresentationConfigurations().addAll((Collection<? extends ProrPresentationConfiguration>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
- unsetPresentationConfigurations();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
- return isSetPresentationConfigurations();
- }
- return super.eIsSet(featureID);
- }
-
-} //ProrPresentationConfigurationsImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pror Presentation Configurations</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrPresentationConfigurationsImpl#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProrPresentationConfigurationsImpl extends EObjectImpl implements ProrPresentationConfigurations {
+ /**
+ * The cached value of the '{@link #getPresentationConfigurations() <em>Presentation Configurations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPresentationConfigurations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ProrPresentationConfiguration> presentationConfigurations;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProrPresentationConfigurationsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.PROR_PRESENTATION_CONFIGURATIONS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ProrPresentationConfiguration> getPresentationConfigurations() {
+ if (presentationConfigurations == null) {
+ presentationConfigurations = new EObjectContainmentEList.Unsettable<ProrPresentationConfiguration>(ProrPresentationConfiguration.class, this, ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS);
+ }
+ return presentationConfigurations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetPresentationConfigurations() {
+ if (presentationConfigurations != null) ((InternalEList.Unsettable<?>)presentationConfigurations).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetPresentationConfigurations() {
+ return presentationConfigurations != null && ((InternalEList.Unsettable<?>)presentationConfigurations).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
+ return ((InternalEList<?>)getPresentationConfigurations()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
+ return getPresentationConfigurations();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
+ getPresentationConfigurations().clear();
+ getPresentationConfigurations().addAll((Collection<? extends ProrPresentationConfiguration>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
+ unsetPresentationConfigurations();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_PRESENTATION_CONFIGURATIONS__PRESENTATION_CONFIGURATIONS:
+ return isSetPresentationConfigurations();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProrPresentationConfigurationsImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrSpecViewConfigurationImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrSpecViewConfigurationImpl.java
index 6797911..498c0fa 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrSpecViewConfigurationImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrSpecViewConfigurationImpl.java
@@ -1,399 +1,395 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.rmf.reqif10.Specification;
-import org.eclipse.rmf.reqif10.pror.configuration.Column;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Pror Spec View Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getSpecification <em>Specification</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getColumns <em>Columns</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getLeftHeaderColumn <em>Left Header Column</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ProrSpecViewConfigurationImpl extends EObjectImpl implements ProrSpecViewConfiguration {
- /**
- * The cached value of the '{@link #getSpecification() <em>Specification</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSpecification()
- * @generated
- * @ordered
- */
- protected Specification specification;
-
- /**
- * This is true if the Specification reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean specificationESet;
-
- /**
- * The cached value of the '{@link #getColumns() <em>Columns</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getColumns()
- * @generated
- * @ordered
- */
- protected EList<Column> columns;
-
- /**
- * The cached value of the '{@link #getLeftHeaderColumn() <em>Left Header Column</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLeftHeaderColumn()
- * @generated
- * @ordered
- */
- protected Column leftHeaderColumn;
-
- /**
- * This is true if the Left Header Column containment reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean leftHeaderColumnESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProrSpecViewConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PROR_SPEC_VIEW_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Specification getSpecification() {
- if (specification != null && specification.eIsProxy()) {
- InternalEObject oldSpecification = (InternalEObject)specification;
- specification = (Specification)eResolveProxy(oldSpecification);
- if (specification != oldSpecification) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, specification));
- }
- }
- return specification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Specification basicGetSpecification() {
- return specification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSpecification(Specification newSpecification) {
- Specification oldSpecification = specification;
- specification = newSpecification;
- boolean oldSpecificationESet = specificationESet;
- specificationESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, specification, !oldSpecificationESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetSpecification() {
- Specification oldSpecification = specification;
- boolean oldSpecificationESet = specificationESet;
- specification = null;
- specificationESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, null, oldSpecificationESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetSpecification() {
- return specificationESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Column> getColumns() {
- if (columns == null) {
- columns = new EObjectContainmentEList.Unsettable<Column>(Column.class, this, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS);
- }
- return columns;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetColumns() {
- if (columns != null) ((InternalEList.Unsettable<?>)columns).unset();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetColumns() {
- return columns != null && ((InternalEList.Unsettable<?>)columns).isSet();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Column getLeftHeaderColumn() {
- return leftHeaderColumn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLeftHeaderColumn(Column newLeftHeaderColumn, NotificationChain msgs) {
- Column oldLeftHeaderColumn = leftHeaderColumn;
- leftHeaderColumn = newLeftHeaderColumn;
- boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
- leftHeaderColumnESet = true;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, oldLeftHeaderColumn, newLeftHeaderColumn, !oldLeftHeaderColumnESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLeftHeaderColumn(Column newLeftHeaderColumn) {
- if (newLeftHeaderColumn != leftHeaderColumn) {
- NotificationChain msgs = null;
- if (leftHeaderColumn != null)
- msgs = ((InternalEObject)leftHeaderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
- if (newLeftHeaderColumn != null)
- msgs = ((InternalEObject)newLeftHeaderColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
- msgs = basicSetLeftHeaderColumn(newLeftHeaderColumn, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
- leftHeaderColumnESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, newLeftHeaderColumn, newLeftHeaderColumn, !oldLeftHeaderColumnESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicUnsetLeftHeaderColumn(NotificationChain msgs) {
- Column oldLeftHeaderColumn = leftHeaderColumn;
- leftHeaderColumn = null;
- boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
- leftHeaderColumnESet = false;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, oldLeftHeaderColumn, null, oldLeftHeaderColumnESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetLeftHeaderColumn() {
- if (leftHeaderColumn != null) {
- NotificationChain msgs = null;
- msgs = ((InternalEObject)leftHeaderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
- msgs = basicUnsetLeftHeaderColumn(msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
- leftHeaderColumnESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, null, oldLeftHeaderColumnESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetLeftHeaderColumn() {
- return leftHeaderColumnESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
- return ((InternalEList<?>)getColumns()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
- return basicUnsetLeftHeaderColumn(msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
- if (resolve) return getSpecification();
- return basicGetSpecification();
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
- return getColumns();
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
- return getLeftHeaderColumn();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
- setSpecification((Specification)newValue);
- return;
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
- getColumns().clear();
- getColumns().addAll((Collection<? extends Column>)newValue);
- return;
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
- setLeftHeaderColumn((Column)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
- unsetSpecification();
- return;
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
- unsetColumns();
- return;
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
- unsetLeftHeaderColumn();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
- return isSetSpecification();
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
- return isSetColumns();
- case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
- return isSetLeftHeaderColumn();
- }
- return super.eIsSet(featureID);
- }
-
-} //ProrSpecViewConfigurationImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.rmf.reqif10.Specification;
+
+import org.eclipse.rmf.reqif10.pror.configuration.Column;
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pror Spec View Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getSpecification <em>Specification</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getColumns <em>Columns</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrSpecViewConfigurationImpl#getLeftHeaderColumn <em>Left Header Column</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProrSpecViewConfigurationImpl extends EObjectImpl implements ProrSpecViewConfiguration {
+ /**
+ * The cached value of the '{@link #getSpecification() <em>Specification</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSpecification()
+ * @generated
+ * @ordered
+ */
+ protected Specification specification;
+
+ /**
+ * This is true if the Specification reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean specificationESet;
+
+ /**
+ * The cached value of the '{@link #getColumns() <em>Columns</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getColumns()
+ * @generated
+ * @ordered
+ */
+ protected EList<Column> columns;
+
+ /**
+ * The cached value of the '{@link #getLeftHeaderColumn() <em>Left Header Column</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLeftHeaderColumn()
+ * @generated
+ * @ordered
+ */
+ protected Column leftHeaderColumn;
+
+ /**
+ * This is true if the Left Header Column containment reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean leftHeaderColumnESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProrSpecViewConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.PROR_SPEC_VIEW_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Specification getSpecification() {
+ if (specification != null && specification.eIsProxy()) {
+ InternalEObject oldSpecification = (InternalEObject)specification;
+ specification = (Specification)eResolveProxy(oldSpecification);
+ if (specification != oldSpecification) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, specification));
+ }
+ }
+ return specification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Specification basicGetSpecification() {
+ return specification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSpecification(Specification newSpecification) {
+ Specification oldSpecification = specification;
+ specification = newSpecification;
+ boolean oldSpecificationESet = specificationESet;
+ specificationESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, specification, !oldSpecificationESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetSpecification() {
+ Specification oldSpecification = specification;
+ boolean oldSpecificationESet = specificationESet;
+ specification = null;
+ specificationESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION, oldSpecification, null, oldSpecificationESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetSpecification() {
+ return specificationESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Column> getColumns() {
+ if (columns == null) {
+ columns = new EObjectContainmentEList.Unsettable<Column>(Column.class, this, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS);
+ }
+ return columns;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetColumns() {
+ if (columns != null) ((InternalEList.Unsettable<?>)columns).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetColumns() {
+ return columns != null && ((InternalEList.Unsettable<?>)columns).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Column getLeftHeaderColumn() {
+ return leftHeaderColumn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLeftHeaderColumn(Column newLeftHeaderColumn, NotificationChain msgs) {
+ Column oldLeftHeaderColumn = leftHeaderColumn;
+ leftHeaderColumn = newLeftHeaderColumn;
+ boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
+ leftHeaderColumnESet = true;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, oldLeftHeaderColumn, newLeftHeaderColumn, !oldLeftHeaderColumnESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLeftHeaderColumn(Column newLeftHeaderColumn) {
+ if (newLeftHeaderColumn != leftHeaderColumn) {
+ NotificationChain msgs = null;
+ if (leftHeaderColumn != null)
+ msgs = ((InternalEObject)leftHeaderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
+ if (newLeftHeaderColumn != null)
+ msgs = ((InternalEObject)newLeftHeaderColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
+ msgs = basicSetLeftHeaderColumn(newLeftHeaderColumn, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
+ leftHeaderColumnESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, newLeftHeaderColumn, newLeftHeaderColumn, !oldLeftHeaderColumnESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicUnsetLeftHeaderColumn(NotificationChain msgs) {
+ Column oldLeftHeaderColumn = leftHeaderColumn;
+ leftHeaderColumn = null;
+ boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
+ leftHeaderColumnESet = false;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, oldLeftHeaderColumn, null, oldLeftHeaderColumnESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetLeftHeaderColumn() {
+ if (leftHeaderColumn != null) {
+ NotificationChain msgs = null;
+ msgs = ((InternalEObject)leftHeaderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, msgs);
+ msgs = basicUnsetLeftHeaderColumn(msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldLeftHeaderColumnESet = leftHeaderColumnESet;
+ leftHeaderColumnESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN, null, null, oldLeftHeaderColumnESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetLeftHeaderColumn() {
+ return leftHeaderColumnESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
+ return ((InternalEList<?>)getColumns()).basicRemove(otherEnd, msgs);
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
+ return basicUnsetLeftHeaderColumn(msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
+ if (resolve) return getSpecification();
+ return basicGetSpecification();
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
+ return getColumns();
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
+ return getLeftHeaderColumn();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
+ setSpecification((Specification)newValue);
+ return;
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
+ getColumns().clear();
+ getColumns().addAll((Collection<? extends Column>)newValue);
+ return;
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
+ setLeftHeaderColumn((Column)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
+ unsetSpecification();
+ return;
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
+ unsetColumns();
+ return;
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
+ unsetLeftHeaderColumn();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__SPECIFICATION:
+ return isSetSpecification();
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__COLUMNS:
+ return isSetColumns();
+ case ConfigurationPackage.PROR_SPEC_VIEW_CONFIGURATION__LEFT_HEADER_COLUMN:
+ return isSetLeftHeaderColumn();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProrSpecViewConfigurationImpl
diff --git a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrToolExtensionImpl.java b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrToolExtensionImpl.java
index eb4e49b..162e5c4 100644
--- a/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrToolExtensionImpl.java
+++ b/org.eclipse.rmf.reqif10.pror/src/org/eclipse/rmf/reqif10/pror/configuration/impl/ProrToolExtensionImpl.java
@@ -1,433 +1,428 @@
-/*******************************************************************************
- * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Michael Jastram - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.rmf.reqif10.pror.configuration.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
-import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Pror Tool Extension</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getSpecViewConfigurations <em>Spec View Configurations</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getGeneralConfiguration <em>General Configuration</em>}</li>
- * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ProrToolExtensionImpl extends EObjectImpl implements ProrToolExtension {
- /**
- * The cached value of the '{@link #getSpecViewConfigurations() <em>Spec View Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSpecViewConfigurations()
- * @generated
- * @ordered
- */
- protected EList<ProrSpecViewConfiguration> specViewConfigurations;
-
- /**
- * The cached value of the '{@link #getGeneralConfiguration() <em>General Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGeneralConfiguration()
- * @generated
- * @ordered
- */
- protected ProrGeneralConfiguration generalConfiguration;
-
- /**
- * This is true if the General Configuration containment reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean generalConfigurationESet;
-
- /**
- * The cached value of the '{@link #getPresentationConfigurations() <em>Presentation Configurations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPresentationConfigurations()
- * @generated
- * @ordered
- */
- protected ProrPresentationConfigurations presentationConfigurations;
-
- /**
- * This is true if the Presentation Configurations containment reference has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean presentationConfigurationsESet;
-
- /**
- * <!-- begin-user-doc -->
- * Set to public, so that the framework can instantiate this class.
- * <!-- end-user-doc -->
- * @generated NOT
- */
- public ProrToolExtensionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PROR_TOOL_EXTENSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ProrSpecViewConfiguration> getSpecViewConfigurations() {
- if (specViewConfigurations == null) {
- specViewConfigurations = new EObjectContainmentEList.Unsettable<ProrSpecViewConfiguration>(ProrSpecViewConfiguration.class, this, ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS);
- }
- return specViewConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetSpecViewConfigurations() {
- if (specViewConfigurations != null) ((InternalEList.Unsettable<?>)specViewConfigurations).unset();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetSpecViewConfigurations() {
- return specViewConfigurations != null && ((InternalEList.Unsettable<?>)specViewConfigurations).isSet();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrGeneralConfiguration getGeneralConfiguration() {
- return generalConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetGeneralConfiguration(ProrGeneralConfiguration newGeneralConfiguration, NotificationChain msgs) {
- ProrGeneralConfiguration oldGeneralConfiguration = generalConfiguration;
- generalConfiguration = newGeneralConfiguration;
- boolean oldGeneralConfigurationESet = generalConfigurationESet;
- generalConfigurationESet = true;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, oldGeneralConfiguration, newGeneralConfiguration, !oldGeneralConfigurationESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setGeneralConfiguration(ProrGeneralConfiguration newGeneralConfiguration) {
- if (newGeneralConfiguration != generalConfiguration) {
- NotificationChain msgs = null;
- if (generalConfiguration != null)
- msgs = ((InternalEObject)generalConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
- if (newGeneralConfiguration != null)
- msgs = ((InternalEObject)newGeneralConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
- msgs = basicSetGeneralConfiguration(newGeneralConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldGeneralConfigurationESet = generalConfigurationESet;
- generalConfigurationESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, newGeneralConfiguration, newGeneralConfiguration, !oldGeneralConfigurationESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicUnsetGeneralConfiguration(NotificationChain msgs) {
- ProrGeneralConfiguration oldGeneralConfiguration = generalConfiguration;
- generalConfiguration = null;
- boolean oldGeneralConfigurationESet = generalConfigurationESet;
- generalConfigurationESet = false;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, oldGeneralConfiguration, null, oldGeneralConfigurationESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetGeneralConfiguration() {
- if (generalConfiguration != null) {
- NotificationChain msgs = null;
- msgs = ((InternalEObject)generalConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
- msgs = basicUnsetGeneralConfiguration(msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldGeneralConfigurationESet = generalConfigurationESet;
- generalConfigurationESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, null, oldGeneralConfigurationESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetGeneralConfiguration() {
- return generalConfigurationESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProrPresentationConfigurations getPresentationConfigurations() {
- return presentationConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPresentationConfigurations(ProrPresentationConfigurations newPresentationConfigurations, NotificationChain msgs) {
- ProrPresentationConfigurations oldPresentationConfigurations = presentationConfigurations;
- presentationConfigurations = newPresentationConfigurations;
- boolean oldPresentationConfigurationsESet = presentationConfigurationsESet;
- presentationConfigurationsESet = true;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, oldPresentationConfigurations, newPresentationConfigurations, !oldPresentationConfigurationsESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPresentationConfigurations(ProrPresentationConfigurations newPresentationConfigurations) {
- if (newPresentationConfigurations != presentationConfigurations) {
- NotificationChain msgs = null;
- if (presentationConfigurations != null)
- msgs = ((InternalEObject)presentationConfigurations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, null, msgs);
- if (newPresentationConfigurations != null)
- msgs = ((InternalEObject)newPresentationConfigurations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, null, msgs);
- msgs = basicSetPresentationConfigurations(newPresentationConfigurations, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldPresentationConfigurationsESet = presentationConfigurationsESet;
- presentationConfigurationsESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, newPresentationConfigurations, newPresentationConfigurations, !oldPresentationConfigurationsESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicUnsetPresentationConfigurations(NotificationChain msgs) {
- ProrPresentationConfigurations oldPresentationConfigurations = presentationConfigurations;
- presentationConfigurations = null;
- boolean oldPresentationConfigurationsESet = presentationConfigurationsESet;
- presentationConfigurationsESet = false;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, oldPresentationConfigurations, null, oldPresentationConfigurationsESet);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetPresentationConfigurations() {
- if (presentationConfigurations != null) {
- NotificationChain msgs = null;
- msgs = ((InternalEObject)presentationConfigurations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, null, msgs);
- msgs = basicUnsetPresentationConfigurations(msgs);
- if (msgs != null) msgs.dispatch();
- }
- else {
- boolean oldPresentationConfigurationsESet = presentationConfigurationsESet;
- presentationConfigurationsESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, null, null, oldPresentationConfigurationsESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetPresentationConfigurations() {
- return presentationConfigurationsESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS:
- return ((InternalEList<?>)getSpecViewConfigurations()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION:
- return basicUnsetGeneralConfiguration(msgs);
- case ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS:
- return basicUnsetPresentationConfigurations(msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS:
- return getSpecViewConfigurations();
- case ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION:
- return getGeneralConfiguration();
- case ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS:
- return getPresentationConfigurations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS:
- getSpecViewConfigurations().clear();
- getSpecViewConfigurations().addAll((Collection<? extends ProrSpecViewConfiguration>)newValue);
- return;
- case ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION:
- setGeneralConfiguration((ProrGeneralConfiguration)newValue);
- return;
- case ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS:
- setPresentationConfigurations((ProrPresentationConfigurations)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS:
- unsetSpecViewConfigurations();
- return;
- case ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION:
- unsetGeneralConfiguration();
- return;
- case ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS:
- unsetPresentationConfigurations();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS:
- return isSetSpecViewConfigurations();
- case ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION:
- return isSetGeneralConfiguration();
- case ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS:
- return isSetPresentationConfigurations();
- }
- return super.eIsSet(featureID);
- }
-
-} //ProrToolExtensionImpl
+/**
+ */
+package org.eclipse.rmf.reqif10.pror.configuration.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.rmf.reqif10.pror.configuration.ConfigurationPackage;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrGeneralConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrPresentationConfigurations;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrSpecViewConfiguration;
+import org.eclipse.rmf.reqif10.pror.configuration.ProrToolExtension;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pror Tool Extension</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getSpecViewConfigurations <em>Spec View Configurations</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getGeneralConfiguration <em>General Configuration</em>}</li>
+ * <li>{@link org.eclipse.rmf.reqif10.pror.configuration.impl.ProrToolExtensionImpl#getPresentationConfigurations <em>Presentation Configurations</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProrToolExtensionImpl extends EObjectImpl implements ProrToolExtension {
+ /**
+ * The cached value of the '{@link #getSpecViewConfigurations() <em>Spec View Configurations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSpecViewConfigurations()
+ * @generated
+ * @ordered
+ */
+ protected EList<ProrSpecViewConfiguration> specViewConfigurations;
+
+ /**
+ * The cached value of the '{@link #getGeneralConfiguration() <em>General Configuration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGeneralConfiguration()
+ * @generated
+ * @ordered
+ */
+ protected ProrGeneralConfiguration generalConfiguration;
+
+ /**
+ * This is true if the General Configuration containment reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean generalConfigurationESet;
+
+ /**
+ * The cached value of the '{@link #getPresentationConfigurations() <em>Presentation Configurations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPresentationConfigurations()
+ * @generated
+ * @ordered
+ */
+ protected ProrPresentationConfigurations presentationConfigurations;
+
+ /**
+ * This is true if the Presentation Configurations containment reference has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean presentationConfigurationsESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProrToolExtensionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ConfigurationPackage.Literals.PROR_TOOL_EXTENSION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ProrSpecViewConfiguration> getSpecViewConfigurations() {
+ if (specViewConfigurations == null) {
+ specViewConfigurations = new EObjectContainmentEList.Unsettable<ProrSpecViewConfiguration>(ProrSpecViewConfiguration.class, this, ConfigurationPackage.PROR_TOOL_EXTENSION__SPEC_VIEW_CONFIGURATIONS);
+ }
+ return specViewConfigurations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetSpecViewConfigurations() {
+ if (specViewConfigurations != null) ((InternalEList.Unsettable<?>)specViewConfigurations).unset();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetSpecViewConfigurations() {
+ return specViewConfigurations != null && ((InternalEList.Unsettable<?>)specViewConfigurations).isSet();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrGeneralConfiguration getGeneralConfiguration() {
+ return generalConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetGeneralConfiguration(ProrGeneralConfiguration newGeneralConfiguration, NotificationChain msgs) {
+ ProrGeneralConfiguration oldGeneralConfiguration = generalConfiguration;
+ generalConfiguration = newGeneralConfiguration;
+ boolean oldGeneralConfigurationESet = generalConfigurationESet;
+ generalConfigurationESet = true;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, oldGeneralConfiguration, newGeneralConfiguration, !oldGeneralConfigurationESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGeneralConfiguration(ProrGeneralConfiguration newGeneralConfiguration) {
+ if (newGeneralConfiguration != generalConfiguration) {
+ NotificationChain msgs = null;
+ if (generalConfiguration != null)
+ msgs = ((InternalEObject)generalConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
+ if (newGeneralConfiguration != null)
+ msgs = ((InternalEObject)newGeneralConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
+ msgs = basicSetGeneralConfiguration(newGeneralConfiguration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldGeneralConfigurationESet = generalConfigurationESet;
+ generalConfigurationESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, newGeneralConfiguration, newGeneralConfiguration, !oldGeneralConfigurationESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicUnsetGeneralConfiguration(NotificationChain msgs) {
+ ProrGeneralConfiguration oldGeneralConfiguration = generalConfiguration;
+ generalConfiguration = null;
+ boolean oldGeneralConfigurationESet = generalConfigurationESet;
+ generalConfigurationESet = false;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, oldGeneralConfiguration, null, oldGeneralConfigurationESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetGeneralConfiguration() {
+ if (generalConfiguration != null) {
+ NotificationChain msgs = null;
+ msgs = ((InternalEObject)generalConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, msgs);
+ msgs = basicUnsetGeneralConfiguration(msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
+ boolean oldGeneralConfigurationESet = generalConfigurationESet;
+ generalConfigurationESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigurationPackage.PROR_TOOL_EXTENSION__GENERAL_CONFIGURATION, null, null, oldGeneralConfigurationESet));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetGeneralConfiguration() {
+ return generalConfigurationESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProrPresentationConfigurations getPresentationConfigurations() {
+ return presentationConfigurations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPresentationConfigurations(ProrPresentationConfigurations newPresentationConfigurations, NotificationChain msgs) {
+ ProrPresentationConfigurations oldPresentationConfigurations = presentationConfigurations;
+ presentationConfigurations = newPresentationConfigurations;
+ boolean oldPresentationConfigurationsESet = presentationConfigurationsESet;
+ presentationConfigurationsESet = true;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PROR_TOOL_EXTENSION__PRESENTATION_CONFIGURATIONS, oldPresentationConfigurations, newPresentationConfigurations, !oldPresentationConfigurationsESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+