Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaged Elaasar2017-06-01 19:18:42 +0000
committerFlorian Noyrit2017-06-06 15:05:32 +0000
commit17f500ad54d8dc9362b31a737ec19cd24627f297 (patch)
tree7afbc1ea66c80c935f0080f283f784ed99cc3720 /plugins/infra/nattable
parent273dd997e6462e2e1709e72dadb311460a60725c (diff)
downloadorg.eclipse.papyrus-17f500ad54d8dc9362b31a737ec19cd24627f297.tar.gz
org.eclipse.papyrus-17f500ad54d8dc9362b31a737ec19cd24627f297.tar.xz
org.eclipse.papyrus-17f500ad54d8dc9362b31a737ec19cd24627f297.zip
Bug 516901 - Replaced references to Architecture model elements by their
unique ids instead. This will avoid such elements being loaded in user model resource sets. Also, refactored the Architecture metamodel by moving the id and icon attributes to ADElement so that all elements in the model have them. This also include refactoring of the uml.architecture model to give ids to various diagrams and tables. Also, changed the UMLDiagramReconciler_1_3 to put the diagramKindId attribute instead of the diagramKind reference in the PapyrusDiagramStyle. Also, change the UMLTableReconciler_1_3 to a) test the proxy URI of the old prototype instead of name (since the legacy viewpoint configuration models were deleted earlier resulting in proxies) and to set the tableKindId instead of changing the prototype (which is now deprecated). Change-Id: I99413c1dd6daeaf395fc8c70b8b7ed2e0573acd1 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
Diffstat (limited to 'plugins/infra/nattable')
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/handlers/PolicyDefinedTableHandler.java2
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/helper/TableCommandHelper.java7
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/modelresource/PapyrusNattableModel.java21
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/internal/common/commands/CreateAndOpenTableEditorCommand.java2
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/plugin.properties1
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/provider/TableItemProvider.java24
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.ecore2760
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.genmodel1
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/NattablePackage.java30
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/Table.java34
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/NattablePackageImpl.java15
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/TableImpl.java56
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.properties/src/org/eclipse/papyrus/infra/nattable/properties/modelelement/NatTableModelElement.java2
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/contentprovider/ContextFeatureContentProvider.java6
14 files changed, 941 insertions, 2020 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/handlers/PolicyDefinedTableHandler.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/handlers/PolicyDefinedTableHandler.java
index 8fbbdc8f8b5..4e30a69d92c 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/handlers/PolicyDefinedTableHandler.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/handlers/PolicyDefinedTableHandler.java
@@ -70,7 +70,7 @@ public class PolicyDefinedTableHandler extends CreateNatTableEditorHandler {
Table table = PolicyDefinedTableHandler.this.doExecute(serviceRegistry, name, this.description);
TableVersioningUtils.stampCurrentVersion(table);
table.setOwner(context);
- table.setPrototype(prototype.getRepresentationKind());
+ table.setTableKindId(prototype.getRepresentationKind().getId());
} catch (Exception ex) {
Activator.log.error(ex);
}
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/helper/TableCommandHelper.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/helper/TableCommandHelper.java
index 91c65dc7534..c5f111d0082 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/helper/TableCommandHelper.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/helper/TableCommandHelper.java
@@ -18,7 +18,9 @@ import java.util.Map;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager;
import org.eclipse.papyrus.infra.architecture.representation.PapyrusRepresentationKind;
+import org.eclipse.papyrus.infra.core.architecture.RepresentationKind;
import org.eclipse.papyrus.infra.nattable.model.nattable.Table;
import org.eclipse.papyrus.infra.nattable.representation.PapyrusTable;
import org.eclipse.papyrus.infra.nattable.representation.RepresentationPackage;
@@ -66,7 +68,7 @@ public class TableCommandHelper implements IViewTypeHelper {
return false;
}
Table table = (Table) view;
- return (table.getPrototype() instanceof PapyrusTable);
+ return (table.getTableKindId() != null);
}
@Override
@@ -75,7 +77,8 @@ public class TableCommandHelper implements IViewTypeHelper {
return null;
}
PolicyChecker checker = PolicyChecker.getFor(view);
- PapyrusTable repKind = (PapyrusTable) ((Table)view).getPrototype();
+ ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance();
+ PapyrusTable repKind = (PapyrusTable) manager.getRepresentationKindById(((Table)view).getTableKindId());
if (checker.isInViewpoint(repKind))
return getPrototypeFor(repKind);
return ViewPrototype.UNAVAILABLE_VIEW;
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/modelresource/PapyrusNattableModel.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/modelresource/PapyrusNattableModel.java
index c5451e99276..3edb2c3e985 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/modelresource/PapyrusNattableModel.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/common/modelresource/PapyrusNattableModel.java
@@ -29,7 +29,6 @@ import org.eclipse.papyrus.infra.core.resource.BadArgumentExcetion;
import org.eclipse.papyrus.infra.core.resource.IModel;
import org.eclipse.papyrus.infra.core.resource.ModelSet;
import org.eclipse.papyrus.infra.core.resource.NotFoundException;
-import org.eclipse.papyrus.infra.nattable.common.helper.TableViewPrototype;
import org.eclipse.papyrus.infra.nattable.model.nattable.Table;
@@ -223,16 +222,8 @@ public class PapyrusNattableModel extends AbstractModelWithSharedResource<Table>
for (EObject element : current.getContents()) {
if (element instanceof Table) {
Table table = (Table) element;
- EObject prototype = table.getPrototype();
- if (prototype instanceof TableViewPrototype) {
- final String implementationID = ((TableViewPrototype) prototype).getImplementation();
- if (tableType.equals(implementationID)) {
- matchingTables.add(table);
- }
- } else {
- if (tableType.equals(table.getTableConfiguration().getType())) {
- matchingTables.add(table);
- }
+ if (tableType.equals(table.getTableConfiguration().getType())) {
+ matchingTables.add(table);
}
}
}
@@ -313,13 +304,7 @@ public class PapyrusNattableModel extends AbstractModelWithSharedResource<Table>
matchName = tableName.equals(table.getName());
}
if (tableType != null) {
- EObject prototype = table.getPrototype();
- if (prototype instanceof TableViewPrototype) {
- final String implementationID = ((TableViewPrototype) prototype).getImplementation();
- matchType = tableType.equals(implementationID);
- } else {
- matchType = tableType.equals(table.getTableConfiguration().getType());
- }
+ matchType = tableType.equals(table.getTableConfiguration().getType());
}
if (tableOwner != null) {
matchOwner = tableOwner.equals(table.getOwner());
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/internal/common/commands/CreateAndOpenTableEditorCommand.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/internal/common/commands/CreateAndOpenTableEditorCommand.java
index 182dd99ec1e..4187ad3f85e 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/internal/common/commands/CreateAndOpenTableEditorCommand.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.common/src/org/eclipse/papyrus/infra/nattable/internal/common/commands/CreateAndOpenTableEditorCommand.java
@@ -227,7 +227,7 @@ public class CreateAndOpenTableEditorCommand extends RecordingCommand {
} else {
table.setOwner(this.owner);
}
- table.setPrototype(tableViewPrototype.getRepresentationKind());
+ table.setTableKindId(tableViewPrototype.getRepresentationKind().getId());
if (this.pageManager != null) {
this.pageManager.openPage(table);
}
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/plugin.properties b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/plugin.properties
index 82b860f38bf..424464ea736 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/plugin.properties
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/plugin.properties
@@ -256,3 +256,4 @@ _UI_IdWrapper_element_feature = Element
_UI_MatrixRelationShipDirection_NONE_literal = NONE
_UI_MatrixRelationShipDirection_FROM_ROW_TO_COLUMN_literal = FROM_ROW_TO_COLUMN
_UI_MatrixRelationShipDirection_FROM_COLUMN_TO_ROW_literal = FROM_COLUMN_TO_ROW
+_UI_Table_tableKindId_feature = Table Kind Id
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/provider/TableItemProvider.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/provider/TableItemProvider.java
index e99c78f827c..78c5dc5db6a 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/provider/TableItemProvider.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model.edit/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/provider/TableItemProvider.java
@@ -76,6 +76,7 @@ public class TableItemProvider extends TableNamedElementItemProvider {
addInvertAxisPropertyDescriptor(object);
addCurrentRowAxisProviderPropertyDescriptor(object);
addCurrentColumnAxisProviderPropertyDescriptor(object);
+ addTableKindIdPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -235,6 +236,28 @@ public class TableItemProvider extends TableNamedElementItemProvider {
}
/**
+ * This adds a property descriptor for the Table Kind Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTableKindIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Table_tableKindId_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_Table_tableKindId_feature", "_UI_Table_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ NattablePackage.Literals.TABLE__TABLE_KIND_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
@@ -308,6 +331,7 @@ public class TableItemProvider extends TableNamedElementItemProvider {
switch (notification.getFeatureID(Table.class)) {
case NattablePackage.TABLE__INVERT_AXIS:
+ case NattablePackage.TABLE__TABLE_KIND_ID:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case NattablePackage.TABLE__COLUMN_AXIS_PROVIDERS_HISTORY:
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.ecore b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.ecore
index 4d4a9ffd0d2..7f4cb1c0b0a 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.ecore
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.ecore
@@ -1,2274 +1,1056 @@
<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage
- xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- name="nattable"
- nsURI="http://www.eclipse.org/papyrus/nattable/model"
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="nattable" nsURI="http://www.eclipse.org/papyrus/nattable/model"
nsPrefix="nattable">
- <eAnnotations
- source="http://www.eclipse.org/OCL/Import">
- <details
- key="ecore"
- value="http://www.eclipse.org/emf/2002/Ecore#/"/>
+ <eAnnotations source="http://www.eclipse.org/OCL/Import">
+ <details key="ecore" value="http://www.eclipse.org/emf/2002/Ecore#/"/>
</eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="invocationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="settingDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="validationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
</eAnnotations>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="Table"
- eSuperTypes="#//nattableconfiguration/TableNamedElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="constraints"
- value="currentRowAxisInHistory currentColumnAxisInHistory currentAxisProvidersTypes"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Table" eSuperTypes="#//nattableconfiguration/TableNamedElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="constraints" value="currentRowAxisInHistory currentColumnAxisInHistory currentAxisProvidersTypes"/>
</eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
- <details
- key="currentRowAxisInHistory"
- value="rowAxisProvidersHistory->includes(currentRowAxisProvider)"/>
- <details
- key="currentColumnAxisInHistory"
- value="columnAxisProvidersHistory->includes(currentColumnAxisProvider)"/>
- <details
- key="currentAxisProvidersTypes"
- value="not (currentRowAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider) and currentColumnAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider))"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
+ <details key="currentRowAxisInHistory" value="rowAxisProvidersHistory->includes(currentRowAxisProvider)"/>
+ <details key="currentColumnAxisInHistory" value="columnAxisProvidersHistory->includes(currentColumnAxisProvider)"/>
+ <details key="currentAxisProvidersTypes" value="not (currentRowAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider) and currentColumnAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider))"/>
</eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This object represents the table. It is used to save the interesting informations of the graphical table.&#xD;&#xA;&#xD;&#xA;The currentAxisProviders can be : Master/Master, Master/Slave, Slave/Master and never Slave/Slave."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This object represents the table. It is used to save the interesting informations of the graphical table.&#xD;&#xA;&#xD;&#xA;The currentAxisProviders can be : Master/Master, Master/Slave, Slave/Master and never Slave/Slave."/>
</eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="context"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="context" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The context is used for two things : &#xD;&#xA;&lt;ul> &lt;li>&quot;virtual&quot; parent to display the table in the Papyrus Model Explorer &lt;/li>&#xD;&#xA;&lt;li>container of the objects created in the table&lt;/li>&#xD;&#xA;&lt;/ul> &#xD;&#xA;The context can't be null;"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The context is used for two things : &#xD;&#xA;&lt;ul> &lt;li>&quot;virtual&quot; parent to display the table in the Papyrus Model Explorer &lt;/li>&#xD;&#xA;&lt;li>container of the objects created in the table&lt;/li>&#xD;&#xA;&lt;/ul> &#xD;&#xA;The context can't be null;"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="owner"
- lowerBound="1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="prototype"
- lowerBound="1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="tableConfiguration"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="owner" lowerBound="1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="prototype" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="tableConfiguration" lowerBound="1"
eType="#//nattableconfiguration/TableConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Reference the configuration used by the table. This field can't be null."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Reference the configuration used by the table. This field can't be null."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="invertAxis"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="false">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, the axis will be inverted on the screen. When the user inverts the axis, &#xD;&#xA;only this boolean is changed. We must not invert the currentRowAxis and the currentColumnAxis neither the histories or the AxisConfiguration"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="invertAxis" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, the axis will be inverted on the screen. When the user inverts the axis, &#xD;&#xA;only this boolean is changed. We must not invert the currentRowAxis and the currentColumnAxis neither the histories or the AxisConfiguration"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="columnAxisProvidersHistory"
- lowerBound="1"
- upperBound="-1"
- eType="#//nattableaxisprovider/AbstractAxisProvider"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="columnAxisProvidersHistory"
+ lowerBound="1" upperBound="-1" eType="#//nattableaxisprovider/AbstractAxisProvider"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list contains all the columns configurations already used by the user and saved in this list by him."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list contains all the columns configurations already used by the user and saved in this list by him."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="rowAxisProvidersHistory"
- lowerBound="1"
- upperBound="-1"
- eType="#//nattableaxisprovider/AbstractAxisProvider"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rowAxisProvidersHistory"
+ lowerBound="1" upperBound="-1" eType="#//nattableaxisprovider/AbstractAxisProvider"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list contains all the rowsconfigurations already used by the user and saved in this list by him."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list contains all the rowsconfigurations already used by the user and saved in this list by him."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localRowHeaderAxisConfiguration"
- eType="#//nattableaxisconfiguration/LocalTableHeaderAxisConfiguration"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field contains the row headerAxisConfiguration. It could be null. &#xD;&#xA;In this case we use the row TableHeaderAxisConfiguration stored in the TableConfiguration of this table."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localRowHeaderAxisConfiguration"
+ eType="#//nattableaxisconfiguration/LocalTableHeaderAxisConfiguration" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field contains the row headerAxisConfiguration. It could be null. &#xD;&#xA;In this case we use the row TableHeaderAxisConfiguration stored in the TableConfiguration of this table."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localColumnHeaderAxisConfiguration"
- eType="#//nattableaxisconfiguration/LocalTableHeaderAxisConfiguration"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field contains the columnheaderAxisConfiguration. It could be null. &#xD;&#xA;In this case we use the column TableHeaderAxisConfiguration stored in the TableConfiguration of this table."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localColumnHeaderAxisConfiguration"
+ eType="#//nattableaxisconfiguration/LocalTableHeaderAxisConfiguration" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field contains the columnheaderAxisConfiguration. It could be null. &#xD;&#xA;In this case we use the column TableHeaderAxisConfiguration stored in the TableConfiguration of this table."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="currentRowAxisProvider"
- lowerBound="1"
- eType="#//nattableaxisprovider/AbstractAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="References the current row AxisProvider used in the table.&#xD;&#xA;The value must be owned by rowAxisProviderHistory"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="currentRowAxisProvider"
+ lowerBound="1" eType="#//nattableaxisprovider/AbstractAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="References the current row AxisProvider used in the table.&#xD;&#xA;The value must be owned by rowAxisProviderHistory"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="currentColumnAxisProvider"
- lowerBound="1"
- eType="#//nattableaxisprovider/AbstractAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="References the current column AxisProvider used in the table.&#xD;&#xA;The value must be owned by column AxisProviderHistory"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="currentColumnAxisProvider"
+ lowerBound="1" eType="#//nattableaxisprovider/AbstractAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="References the current column AxisProvider used in the table.&#xD;&#xA;The value must be owned by column AxisProviderHistory"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="cells"
- upperBound="-1"
- eType="#//nattablecell/Cell"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Cells of the table. They are used when the value to display can't be deduced of&#xD;&#xA;the intersection of the row and the column."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cells" upperBound="-1"
+ eType="#//nattablecell/Cell" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Cells of the table. They are used when the value to display can't be deduced of&#xD;&#xA;the intersection of the row and the column."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="ownedCellEditorConfigurations"
- eType="#//nattablecelleditor/ICellEditorConfiguration"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="In some case (Matrix Table for example), the table can have celleditor configuration."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ownedCellEditorConfigurations"
+ eType="#//nattablecelleditor/ICellEditorConfiguration" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="In some case (Matrix Table for example), the table can have celleditor configuration."/>
</eAnnotations>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableKindId" lowerBound="1"
+ eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
- <eSubpackages
- name="nattableconfiguration"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration"
+ <eSubpackages name="nattableconfiguration" nsURI="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration"
nsPrefix="nattableconfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="invocationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="settingDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="validationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
</eAnnotations>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="TableNamedElement"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="TableNamedElement" abstract="true"
eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract Element used in this metamodel for named element which have a description."/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="constraints"
- value="nonEmptyName"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
- <details
- key="nonEmptyName"
- value="not (name.oclIsUndefined() or name = '')"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="description"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The description of the named element."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract Element used in this metamodel for named element which have a description."/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="constraints" value="nonEmptyName"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
+ <details key="nonEmptyName" value="not (name.oclIsUndefined() or name = '')"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The description of the named element."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="name"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The name of the named element."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The name of the named element."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="TableConfiguration"
- eSuperTypes="#//nattableconfiguration/TableNamedElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="constraints"
- value="defaultRowAxisProviderExistsInCollection defaultColumnAxisProviderExistsInCollection defaultAxisProvidersTypes typeNonNullNonEmpty iconPath"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
- <details
- key="defaultRowAxisProviderExistsInCollection"
- value="rowAxisProviders->includes(defaultRowAxisProvider)"/>
- <details
- key="defaultColumnAxisProviderExistsInCollection"
- value="columnAxisProviders->includes(defaultColumnAxisProvider)"/>
- <details
- key="typeNonNullNonEmpty"
- value="not (type.oclIsUndefined() or type = '')"/>
- <details
- key="iconPath"
- value="not (iconPath.oclIsUndefined() or iconPath = '')"/>
- <details
- key="defaultAxisProvidersTypes"
- value="not (defaultRowAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider) and defaultColumnAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider))"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This object is used to configure a table. To create a new type of table, you must create &#xD;&#xA;a new file *.nattableConfiguration and register it using the extension point org.eclipse.papyrus.infra.nattable.configuration&#xD;&#xA;&#xD;&#xA;the defaultAxisProviders can be : Master/Master, Master/Slave, Slave/Master and never Slave/Slave."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="type"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="TableConfiguration" eSuperTypes="#//nattableconfiguration/TableNamedElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="constraints" value="defaultRowAxisProviderExistsInCollection defaultColumnAxisProviderExistsInCollection defaultAxisProvidersTypes typeNonNullNonEmpty iconPath"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
+ <details key="defaultRowAxisProviderExistsInCollection" value="rowAxisProviders->includes(defaultRowAxisProvider)"/>
+ <details key="defaultColumnAxisProviderExistsInCollection" value="columnAxisProviders->includes(defaultColumnAxisProvider)"/>
+ <details key="typeNonNullNonEmpty" value="not (type.oclIsUndefined() or type = '')"/>
+ <details key="iconPath" value="not (iconPath.oclIsUndefined() or iconPath = '')"/>
+ <details key="defaultAxisProvidersTypes" value="not (defaultRowAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider) and defaultColumnAxisProvider.oclIsKindOf(nattableaxisprovider::ISlaveAxisProvider))"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This object is used to configure a table. To create a new type of table, you must create &#xD;&#xA;a new file *.nattableConfiguration and register it using the extension point org.eclipse.papyrus.infra.nattable.configuration&#xD;&#xA;&#xD;&#xA;the defaultAxisProviders can be : Master/Master, Master/Slave, Slave/Master and never Slave/Slave."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The type of the table. This value is used to be able to open/close easily the table editor in Papyrus. &#xD;&#xA;Moreover it allows to distinghuish easily the table."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type of the table. This value is used to be able to open/close easily the table editor in Papyrus. &#xD;&#xA;Moreover it allows to distinghuish easily the table."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="iconPath"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="iconPath" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The path of the icon to use for the table which references this TableConfiguration."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The path of the icon to use for the table which references this TableConfiguration."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="creationTester"
- eType="#//nattabletester/AbstractTableTester"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value could be null. The tester is used to know if this tableConfiguration can be used&#xD;&#xA;to create a new table using as context the selected element."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="cellEditorDeclaration"
- lowerBound="1"
- eType="#//nattableconfiguration/CellEditorDeclaration"
- defaultValueLiteral="COLUMN">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. Indicates how the CellEditor must be declared. &#xD;&#xA;In the common table, we display features as columns and objects as line. &#xD;&#xA;In this case the cell editors are specific to features, so the cell editor must be declared on the columns."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="rowHeaderAxisConfiguration"
- lowerBound="1"
- eType="#//nattableaxisconfiguration/TableHeaderAxisConfiguration"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="creationTester" eType="#//nattabletester/AbstractTableTester"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. Gives the initial row configuration of the table."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="columnHeaderAxisConfiguration"
- lowerBound="1"
- eType="#//nattableaxisconfiguration/TableHeaderAxisConfiguration"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value could be null. The tester is used to know if this tableConfiguration can be used&#xD;&#xA;to create a new table using as context the selected element."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cellEditorDeclaration"
+ lowerBound="1" eType="#//nattableconfiguration/CellEditorDeclaration" defaultValueLiteral="COLUMN">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. Indicates how the CellEditor must be declared. &#xD;&#xA;In the common table, we display features as columns and objects as line. &#xD;&#xA;In this case the cell editors are specific to features, so the cell editor must be declared on the columns."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rowHeaderAxisConfiguration"
+ lowerBound="1" eType="#//nattableaxisconfiguration/TableHeaderAxisConfiguration"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. Gives the initial column configuration of the table."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="columnAxisProviders"
- lowerBound="1"
- upperBound="-1"
- eType="#//nattableaxisprovider/AbstractAxisProvider"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. Gives the initial row configuration of the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="columnHeaderAxisConfiguration"
+ lowerBound="1" eType="#//nattableaxisconfiguration/TableHeaderAxisConfiguration"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list can't be empty. Contains list of possible column AxisProvider for the table."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="rowAxisProviders"
- lowerBound="1"
- upperBound="-1"
- eType="#//nattableaxisprovider/AbstractAxisProvider"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. Gives the initial column configuration of the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="columnAxisProviders"
+ lowerBound="1" upperBound="-1" eType="#//nattableaxisprovider/AbstractAxisProvider"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list can't be empty. Contains a list of possible row AxisProvider for the table."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="defaultRowAxisProvider"
- lowerBound="1"
- eType="#//nattableaxisprovider/AbstractAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. References the Axis Provider to use by default for rows."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="defaultColumnAxisProvider"
- lowerBound="1"
- eType="#//nattableaxisprovider/AbstractAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. References the Axis Provider to use by default for columns."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="ownedCellEditorConfigurations"
- eType="#//nattablecelleditor/ICellEditorConfiguration"
- transient="true"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list can't be empty. Contains list of possible column AxisProvider for the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rowAxisProviders" lowerBound="1"
+ upperBound="-1" eType="#//nattableaxisprovider/AbstractAxisProvider" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list can't be empty. Contains a list of possible row AxisProvider for the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultRowAxisProvider"
+ lowerBound="1" eType="#//nattableaxisprovider/AbstractAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. References the Axis Provider to use by default for rows."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultColumnAxisProvider"
+ lowerBound="1" eType="#//nattableaxisprovider/AbstractAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. References the Axis Provider to use by default for columns."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ownedCellEditorConfigurations"
+ eType="#//nattablecelleditor/ICellEditorConfiguration" transient="true"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="In some case (Matrix Table for example), the table can have celleditor configuration."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EEnum"
- name="CellEditorDeclaration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Indicates how the CellEditor must be declared. &#xD;&#xA;In the common table, we display features as columns and objects as line. &#xD;&#xA;In this case the cell editors are specific to features, so the cell editor must be declared on the columns."/>
- </eAnnotations>
- <eLiterals
- name="COLUMN"/>
- <eLiterals
- name="ROW"
- value="1"/>
- <eLiterals
- name="CELL"
- value="2"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="In some case (Matrix Table for example), the table can have celleditor configuration."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="CellEditorDeclaration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Indicates how the CellEditor must be declared. &#xD;&#xA;In the common table, we display features as columns and objects as line. &#xD;&#xA;In this case the cell editors are specific to features, so the cell editor must be declared on the columns."/>
+ </eAnnotations>
+ <eLiterals name="COLUMN"/>
+ <eLiterals name="ROW" value="1"/>
+ <eLiterals name="CELL" value="2"/>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattableaxisprovider"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider"
+ <eSubpackages name="nattableaxisprovider" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider"
nsPrefix="nattableaxisprovider">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AbstractAxisProvider"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractAxisProvider" abstract="true"
eSuperTypes="#//nattableconfiguration/TableNamedElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract Element for the AxisProvider. This one only provides a method getAxis()."/>
- </eAnnotations>
- <eOperations
- name="getAxis"
- upperBound="-1"
- eType="#//nattableaxis/IAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This method must returns the IAxis owned by the AxisProvider.&#xD;&#xA;Warning, in case of syncrhonized table, the list often will be empty. This method&#xD;&#xA;only returns the IAxis serialized in the model. Displayed elements are not necessary serialized.&#xD;&#xA;"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract Element for the AxisProvider. This one only provides a method getAxis()."/>
+ </eAnnotations>
+ <eOperations name="getAxis" upperBound="-1" eType="#//nattableaxis/IAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This method must returns the IAxis owned by the AxisProvider.&#xD;&#xA;Warning, in case of syncrhonized table, the list often will be empty. This method&#xD;&#xA;only returns the IAxis serialized in the model. Displayed elements are not necessary serialized.&#xD;&#xA;"/>
</eAnnotations>
</eOperations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IMasterAxisProvider"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattableaxisprovider/AxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Interface used to distinghuish master axis provider from slave axis provider. &#xD;&#xA;The master are able to disconnect the slave."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="disconnectSlave"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="if true, the slave won't be updated when the elements owned by the master will be changed."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="sources"
- upperBound="-1"
- eType="#//nattablewrapper/IWrapper"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field is used by Matrix Table. it replaces the context of the table as provider for the axis."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ISlaveAxisProvider"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattableaxisprovider/AxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Interface used to distinghuish the master from the slave axis provider."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AxisProvider"
- abstract="true"
- eSuperTypes="#//nattableaxisprovider/AbstractAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="AbstractAxisProvider. This one owns IAxis"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axis"
- upperBound="-1"
- eType="#//nattableaxis/IAxis"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="IAxis owned by the AxisProvider. The list can be empty in case of synchronized table."/>
+ <eClassifiers xsi:type="ecore:EClass" name="IMasterAxisProvider" abstract="true"
+ interface="true" eSuperTypes="#//nattableaxisprovider/AxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Interface used to distinghuish master axis provider from slave axis provider. &#xD;&#xA;The master are able to disconnect the slave."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="disconnectSlave" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="if true, the slave won't be updated when the elements owned by the master will be changed."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="sources" upperBound="-1"
+ eType="#//nattablewrapper/IWrapper" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field is used by Matrix Table. it replaces the context of the table as provider for the axis."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ISlaveAxisProvider" abstract="true"
+ interface="true" eSuperTypes="#//nattableaxisprovider/AxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Interface used to distinghuish the master from the slave axis provider."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AxisProvider" abstract="true" eSuperTypes="#//nattableaxisprovider/AbstractAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="AbstractAxisProvider. This one owns IAxis"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axis" upperBound="-1"
+ eType="#//nattableaxis/IAxis" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="IAxis owned by the AxisProvider. The list can be empty in case of synchronized table."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="SlaveObjectAxisProvider"
- eSuperTypes="#//nattableaxisprovider/ISlaveAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Concret implementation of ISlaveAxisProvider"/>
+ <eClassifiers xsi:type="ecore:EClass" name="SlaveObjectAxisProvider" eSuperTypes="#//nattableaxisprovider/ISlaveAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Concret implementation of ISlaveAxisProvider"/>
</eAnnotations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="MasterObjectAxisProvider"
- eSuperTypes="#//nattableaxisprovider/IMasterAxisProvider">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Concret implementation of IMasterAxisProvider"/>
+ <eClassifiers xsi:type="ecore:EClass" name="MasterObjectAxisProvider" eSuperTypes="#//nattableaxisprovider/IMasterAxisProvider">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Concret implementation of IMasterAxisProvider"/>
</eAnnotations>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattablelabelprovider"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider"
+ <eSubpackages name="nattablelabelprovider" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider"
nsPrefix="nattablelabelprovider">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ILabelProviderConfiguration"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common Interface for LabelProviderConfiguration"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ILabelProviderConfiguration" abstract="true"
+ interface="true" eSuperTypes="#//nattablestyle/StyledElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common Interface for LabelProviderConfiguration"/>
</eAnnotations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureLabelProviderConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureLabelProviderConfiguration"
eSuperTypes="#//nattablelabelprovider/ObjectLabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="LabelProviderConfiguration for Feature. In case of Feature. we have two display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the feature &lt;/li> &#xD;&#xA;&lt;li>display the label of the feature &lt;/li>&#xD;&#xA;&lt;li>display the multiplicity of the feature &lt;/li>&#xD;&#xA;&lt;li>display the type of the feature &lt;/li>&#xD;&#xA;&lt;li>display the '/' for isDerived of the feature &lt;/li>&#xD;&#xA;&lt;li>display the name of the feature &lt;/li>&#xD;&#xA; &lt;/ul>"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayIsDerived"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="LabelProviderConfiguration for Feature. In case of Feature. we have two display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the feature &lt;/li> &#xD;&#xA;&lt;li>display the label of the feature &lt;/li>&#xD;&#xA;&lt;li>display the multiplicity of the feature &lt;/li>&#xD;&#xA;&lt;li>display the type of the feature &lt;/li>&#xD;&#xA;&lt;li>display the '/' for isDerived of the feature &lt;/li>&#xD;&#xA;&lt;li>display the name of the feature &lt;/li>&#xD;&#xA; &lt;/ul>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayIsDerived" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the '/' for isDerived"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the '/' for isDerived"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayType"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayType" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the typeof the feature"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the typeof the feature"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayMultiplicity"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayMultiplicity"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the multiplicity of the feature"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the multiplicity of the feature"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayName"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the name of the feature"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the name of the feature"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ObjectLabelProviderConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectLabelProviderConfiguration"
eSuperTypes="#//nattablelabelprovider/ILabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="LabelProviderConfiguration for Object. In case of Object we have two display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the object&lt;/li> &#xD;&#xA;&lt;li>display the label of the object&lt;/li> &lt;/ul>"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayIcon"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="LabelProviderConfiguration for Object. In case of Object we have two display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the object&lt;/li> &#xD;&#xA;&lt;li>display the label of the object&lt;/li> &lt;/ul>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayIcon" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the icon of the object"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the icon of the object"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayLabel"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayLabel" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, we will display the label of the object"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, we will display the label of the object"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="OperationLabelProviderConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="OperationLabelProviderConfiguration"
eSuperTypes="#//nattablelabelprovider/ObjectLabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="LabelProviderConfiguration for Operation. In case of Operation, we have four display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the Operation&lt;/li> &#xD;&#xA;&lt;li>display the label of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the multiplicity of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the type of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the '/' for isDerived of the feature &lt;/li>&#xD;&#xA;&lt;li>display the name of the feature &lt;/li>&#xD;&#xA; &lt;/ul>"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayType"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="LabelProviderConfiguration for Operation. In case of Operation, we have four display options : &#xD;&#xA;&lt;ul>&lt;li>display the icon of the Operation&lt;/li> &#xD;&#xA;&lt;li>display the label of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the multiplicity of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the type of the Operation&lt;/li>&#xD;&#xA;&lt;li>display the '/' for isDerived of the feature &lt;/li>&#xD;&#xA;&lt;li>display the name of the feature &lt;/li>&#xD;&#xA; &lt;/ul>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayType" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayMultiplicity"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayMultiplicity"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayName"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattableaxisconfiguration"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration"
+ <eSubpackages name="nattableaxisconfiguration" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration"
nsPrefix="nattableaxisconfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="invocationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="settingDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
- <details
- key="validationDelegates"
- value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
+ <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
</eAnnotations>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AbstractHeaderAxisConfiguration"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractHeaderAxisConfiguration" abstract="true"
eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract Class for the HeaderAxisConfiguration. This class provides : &#xD;&#xA;&lt;ul>&lt;li>informations on the appearance of the header&lt;/li>&#xD;&#xA;&lt;li> a list of label configuration which can be used by the header&lt;/li>&#xD;&#xA;&lt;li> a list of axisConfiguration. These axis configuration are used to provide the contents of the axis&lt;/li>&#xD;&#xA;&lt;/ul>"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="indexStyle"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract Class for the HeaderAxisConfiguration. This class provides : &#xD;&#xA;&lt;ul>&lt;li>informations on the appearance of the header&lt;/li>&#xD;&#xA;&lt;li> a list of label configuration which can be used by the header&lt;/li>&#xD;&#xA;&lt;li> a list of axisConfiguration. These axis configuration are used to provide the contents of the axis&lt;/li>&#xD;&#xA;&lt;/ul>"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="indexStyle" lowerBound="1"
eType="#//nattableaxisconfiguration/AxisIndexStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. Indicates how to display the index of the Axis : using letter or using number."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. Indicates how to display the index of the Axis : using letter or using number."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayLabel"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayLabel" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, the label header will be displayed."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, the label header will be displayed."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayFilter"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayFilter" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true AND if the axisConfiguration is used as column, the row filter will be displayed."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true AND if the axisConfiguration is used as column, the row filter will be displayed."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayIndex"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayIndex" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, the index header will be displayed."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="ownedLabelConfigurations"
- upperBound="-1"
- eType="#//nattablelabelprovider/ILabelProviderConfiguration"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, the index header will be displayed."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ownedLabelConfigurations"
+ upperBound="-1" eType="#//nattablelabelprovider/ILabelProviderConfiguration"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The list of the possible label configuration, referenced by the axis configuration."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="ownedAxisConfigurations"
- upperBound="-1"
- eType="#//nattableaxisconfiguration/IAxisConfiguration"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The list of the possible label configuration, referenced by the axis configuration."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ownedAxisConfigurations"
+ upperBound="-1" eType="#//nattableaxisconfiguration/IAxisConfiguration"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The list of the owned axis configuration."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The list of the owned axis configuration."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AxisManagerRepresentation"
- eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This class is used to represents in the model the java Axis Manager."/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="constraints"
- value="nonEmptyAxisManager"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
- <details
- key="nonEmptyAxisManager"
- value="not (axisManagerId.oclIsUndefined() or axisManagerId = '')"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="axisManagerId"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="AxisManagerRepresentation" eSuperTypes="#//nattablestyle/StyledElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This class is used to represents in the model the java Axis Manager."/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="constraints" value="nonEmptyAxisManager"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
+ <details key="nonEmptyAxisManager" value="not (axisManagerId.oclIsUndefined() or axisManagerId = '')"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="axisManagerId" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This id allows to find the Java Axis Manager represented by this element.&#xD;&#xA;To find it you must use AxisManagerFactory.INSTANCE.getAxisManager(AxisManagerRepresentation)&#xD;&#xA;To register a Java Axis Manager,you must use the extension point : org.eclipse.papyrus.infra.nattable.axismanager"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This id allows to find the Java Axis Manager represented by this element.&#xD;&#xA;To find it you must use AxisManagerFactory.INSTANCE.getAxisManager(AxisManagerRepresentation)&#xD;&#xA;To register a Java Axis Manager,you must use the extension point : org.eclipse.papyrus.infra.nattable.axismanager"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="labelProviderContext"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="labelProviderContext"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The context on which the label provider to use for this AxisManagerRepresentation are declared.&#xD;&#xA;(see the Papyrus Label Provider Service for further informations)"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The context on which the label provider to use for this AxisManagerRepresentation are declared.&#xD;&#xA;(see the Papyrus Label Provider Service for further informations)"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="headerLabelConfiguration"
- lowerBound="1"
- eType="#//nattablelabelprovider/ILabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The label provider configuration to use for the header of the axis provided by the represented AxisManager"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="headerLabelConfiguration"
+ lowerBound="1" eType="#//nattablelabelprovider/ILabelProviderConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The label provider configuration to use for the header of the axis provided by the represented AxisManager"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="specificAxisConfigurations"
- upperBound="-1"
- eType="#//nattableaxisconfiguration/IAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="A list of specific configurations to use for this axis."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="specificAxisConfigurations"
+ upperBound="-1" eType="#//nattableaxisconfiguration/IAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A list of specific configurations to use for this axis."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AxisManagerConfiguration"
- eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This object allows to define and configure a Java AxisManager"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localHeaderLabelConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="AxisManagerConfiguration" eSuperTypes="#//nattablestyle/StyledElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This object allows to define and configure a Java AxisManager"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localHeaderLabelConfiguration"
eType="#//nattablelabelprovider/ILabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Reference the local header label configuration."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Reference the local header label configuration."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axisManager"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axisManager" lowerBound="1"
eType="#//nattableaxisconfiguration/AxisManagerRepresentation">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This value can't be null. the axis manager representation"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This value can't be null. the axis manager representation"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localSpecificConfigurations"
- upperBound="-1"
- eType="#//nattableaxisconfiguration/IAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="specific configurations for the axis manager."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localSpecificConfigurations"
+ upperBound="-1" eType="#//nattableaxisconfiguration/IAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="specific configurations for the axis manager."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="TableHeaderAxisConfiguration"
- eSuperTypes="#//nattableaxisconfiguration/AbstractHeaderAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore">
- <details
- key="constraints"
- value="axisManagersIdUnique"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
- <details
- key="axisManagersIdUnique"
- value="axisManagers->forAll(am1 : AxisManagerRepresentation | ( (axisManagers->excluding (am1))->forAll(am2 : AxisManagerRepresentation | am1.axisManagerId&lt;>am2.axisManagerId) ))"/>
- </eAnnotations>
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Defines the configuration of the axis in the TableConfiguration"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axisManagers"
- lowerBound="1"
- upperBound="-1"
- eType="#//nattableaxisconfiguration/AxisManagerRepresentation"
+ <eClassifiers xsi:type="ecore:EClass" name="TableHeaderAxisConfiguration" eSuperTypes="#//nattableaxisconfiguration/AbstractHeaderAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="constraints" value="axisManagersIdUnique"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
+ <details key="axisManagersIdUnique" value="axisManagers->forAll(am1 : AxisManagerRepresentation | ( (axisManagers->excluding (am1))->forAll(am2 : AxisManagerRepresentation | am1.axisManagerId&lt;>am2.axisManagerId) ))"/>
+ </eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Defines the configuration of the axis in the TableConfiguration"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axisManagers" lowerBound="1"
+ upperBound="-1" eType="#//nattableaxisconfiguration/AxisManagerRepresentation"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list can't be empty. The list of the AxisManager used to fill the axis."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list can't be empty. The list of the AxisManager used to fill the axis."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="LocalTableHeaderAxisConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="LocalTableHeaderAxisConfiguration"
eSuperTypes="#//nattableaxisconfiguration/AbstractHeaderAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Define the configuration of the axis (rows or columns) in the table."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axisManagerConfigurations"
- upperBound="-1"
- eType="#//nattableaxisconfiguration/AxisManagerConfiguration"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Define the configuration of the axis (rows or columns) in the table."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axisManagerConfigurations"
+ upperBound="-1" eType="#//nattableaxisconfiguration/AxisManagerConfiguration"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This list contains the configuration of the axis managers used in the table."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This list contains the configuration of the axis managers used in the table."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IAxisConfiguration"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Comon Interface for axis configuration."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureAxisConfiguration"
- eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Configuration to use for Axis representing features"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="showOnlyCommonFeature"
+ <eClassifiers xsi:type="ecore:EClass" name="IAxisConfiguration" abstract="true"
+ interface="true" eSuperTypes="#//nattablestyle/StyledElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Comon Interface for axis configuration."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureAxisConfiguration" eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Configuration to use for Axis representing features"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="showOnlyCommonFeature"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, only the common features will be displayed on the axis."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IFillingConfiguration"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Comon Interface for filling configurations."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EStructuralFeatureValueFillingConfiguration"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, only the common features will be displayed on the axis."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IFillingConfiguration" abstract="true"
+ interface="true" eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Comon Interface for filling configurations."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EStructuralFeatureValueFillingConfiguration"
eSuperTypes="#//nattableaxisconfiguration/IFillingConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Configuration used to fill the table listening a feature of the context of the table"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="listenFeature"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Configuration used to fill the table listening a feature of the context of the table"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="listenFeature" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field can't be null. References the feature of the context of the table to listen.&#xD;&#xA;It is possible that the context doesn't have this feature."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IPasteConfiguration"
- eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common Interface for the paste configuration."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="postActions"
- upperBound="-1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field can't be null. References the feature of the context of the table to listen.&#xD;&#xA;It is possible that the context doesn't have this feature."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IPasteConfiguration" eSuperTypes="#//nattableaxisconfiguration/IAxisConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common Interface for the paste configuration."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="postActions" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field references post actions, using a string to do during the paste, after the creation of the element. "/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field references post actions, using a string to do during the paste, after the creation of the element. "/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="detachedMode"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="detachedMode" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="If true, the created elements will be added at the end of the paste and the set values&#xD;&#xA;won't be do using the service edit"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="PasteEObjectConfiguration"
- eSuperTypes="#//nattableaxisconfiguration/IPasteConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Configuration to use to paste EObject in the table."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="pastedElementId"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The String representing the EClass of the elements to create (see papyrus services types for further information)"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="If true, the created elements will be added at the end of the paste and the set values&#xD;&#xA;won't be do using the service edit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PasteEObjectConfiguration" eSuperTypes="#//nattableaxisconfiguration/IPasteConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Configuration to use to paste EObject in the table."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pastedElementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The String representing the EClass of the elements to create (see papyrus services types for further information)"/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="pasteElementContainementFeature"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pasteElementContainementFeature"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field references the feature of the context of the table in which the created element will be added."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field references the feature of the context of the table in which the created element will be added."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axisIdentifier"
- eType="#//nattableaxis/IAxis"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axisIdentifier" eType="#//nattableaxis/IAxis"
containment="true"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EEnum"
- name="AxisIndexStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Enumeration used to describe the possible style of the index of the headers."/>
- </eAnnotations>
- <eLiterals
- name="ALPHABETIC"
- value="1">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Index Headers count will be : A-B-C-...Y-Z-AA-AB-..."/>
+ <eClassifiers xsi:type="ecore:EEnum" name="AxisIndexStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Enumeration used to describe the possible style of the index of the headers."/>
+ </eAnnotations>
+ <eLiterals name="ALPHABETIC" value="1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Index Headers count will be : A-B-C-...Y-Z-AA-AB-..."/>
</eAnnotations>
</eLiterals>
- <eLiterals
- name="NUMERIC">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Index Headers count will be : 1-2-3-..."/>
+ <eLiterals name="NUMERIC">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Index Headers count will be : 1-2-3-..."/>
</eAnnotations>
</eLiterals>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="TreeFillingConfiguration"
- eSuperTypes="#//nattableaxisconfiguration/IFillingConfiguration">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="axisUsedAsAxisProvider"
- lowerBound="1"
- eType="#//nattableaxis/IAxis"
- containment="true"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="pasteConfiguration"
- eType="#//nattableaxisconfiguration/PasteEObjectConfiguration"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="depth"
- eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="labelProvider"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="TreeFillingConfiguration" eSuperTypes="#//nattableaxisconfiguration/IFillingConfiguration">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="axisUsedAsAxisProvider"
+ lowerBound="1" eType="#//nattableaxis/IAxis" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pasteConfiguration" eType="#//nattableaxisconfiguration/PasteEObjectConfiguration"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="depth" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="labelProvider" lowerBound="1"
eType="#//nattablelabelprovider/ILabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="le label provider used to display string and image for this level in the tree"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="labelProviderContext"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="filterRule"
- eType="ecore:EClass ../../org.eclipse.papyrus.infra.emf.expressions/model/expressions.ecore#//booleanexpressions/IBooleanEObjectExpression"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="le label provider used to display string and image for this level in the tree"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="labelProviderContext"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="filterRule" eType="ecore:EClass ../../org.eclipse.papyrus.infra.emf.expressions/model/expressions.ecore#//booleanexpressions/IBooleanEObjectExpression"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field is used to filter the elements to show for this depth. &#xD;&#xA;Only element matching the filter will be returned."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field is used to filter the elements to show for this depth. &#xD;&#xA;Only element matching the filter will be returned."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattabletester"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester"
+ <eSubpackages name="nattabletester" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester"
nsPrefix="nattabletester">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AbstractTableTester"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractTableTester" abstract="true"
eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract class for the tester."/>
- </eAnnotations>
- <eOperations
- name="getTester"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Returns an object representing the tester"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract class for the tester."/>
+ </eAnnotations>
+ <eOperations name="getTester" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Returns an object representing the tester"/>
</eAnnotations>
</eOperations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="JavaTableTester"
- eSuperTypes="#//nattabletester/AbstractTableTester">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This class allows to references a JavaTableTester. The Java class is declared with an id, using the extension point org.eclipse.papyrus.infra.nattable.tester.&#xD;&#xA;The field tester must be the id declared in this extension point."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="tester"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="JavaTableTester" eSuperTypes="#//nattabletester/AbstractTableTester">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This class allows to references a JavaTableTester. The Java class is declared with an id, using the extension point org.eclipse.papyrus.infra.nattable.tester.&#xD;&#xA;The field tester must be the id declared in this extension point."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="tester" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The id of the java tester declared using the extension point org.eclispe.papyrus.infra.nattable.tester"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The id of the java tester declared using the extension point org.eclispe.papyrus.infra.nattable.tester"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattableaxis"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis"
+ <eSubpackages name="nattableaxis" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis"
nsPrefix="nattableaxis">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IAxis"
- abstract="true"
- interface="true"
+ <eClassifiers xsi:type="ecore:EClass" name="IAxis" abstract="true" interface="true"
eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common interface for the axis of the table. (An axis is a specific row or a specific column)"/>
- </eAnnotations>
- <eOperations
- name="getElement"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Returns the elements represented by the IAxis"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common interface for the axis of the table. (An axis is a specific row or a specific column)"/>
+ </eAnnotations>
+ <eOperations name="getElement" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Returns the elements represented by the IAxis"/>
</eAnnotations>
</eOperations>
- <eOperations
- name="getLocalLabelConfiguration"
- eType="#//nattablelabelprovider/ILabelProviderConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
+ <eOperations name="getLocalLabelConfiguration" eType="#//nattablelabelprovider/ILabelProviderConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
</eAnnotations>
</eOperations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="manager"
- eType="#//nattableaxisconfiguration/AxisManagerRepresentation">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field can't be null. Reference the axis manager providing this IAxis."/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="manager" eType="#//nattableaxisconfiguration/AxisManagerRepresentation">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field can't be null. Reference the axis manager providing this IAxis."/>
</eAnnotations>
</eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="alias"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="An element can be displayed using an alias instead of its real name."/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="alias" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="An element can be displayed using an alias instead of its real name."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ITreeItemAxis"
- abstract="true"
- interface="true"
+ <eClassifiers xsi:type="ecore:EClass" name="ITreeItemAxis" abstract="true" interface="true"
eSuperTypes="#//nattableaxis/IAxis">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="parent"
- eType="#//nattableaxis/ITreeItemAxis"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//nattableaxis/ITreeItemAxis"
eOpposite="#//nattableaxis/ITreeItemAxis/children"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="expanded"
- lowerBound="1"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="expanded" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- transient="true"
- defaultValueLiteral="false"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="children"
- upperBound="-1"
- eType="#//nattableaxis/ITreeItemAxis"
- derived="true"
- eOpposite="#//nattableaxis/ITreeItemAxis/parent"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IdAxis"
- abstract="true"
- eSuperTypes="#//nattableaxis/IAxis">
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="element"
- lowerBound="1"
+ transient="true" defaultValueLiteral="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
+ eType="#//nattableaxis/ITreeItemAxis" derived="true" eOpposite="#//nattableaxis/ITreeItemAxis/parent"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IdAxis" abstract="true" eSuperTypes="#//nattableaxis/IAxis">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This obejct allows to reference an element using a string instead of referencing it directly."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IdTreeItemAxis"
- eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectAxis"
- eSuperTypes="#//nattableaxis/ObjectAxis">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="element"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This obejct allows to reference an element using a string instead of referencing it directly."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IdTreeItemAxis" eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectAxis" eSuperTypes="#//nattableaxis/ObjectAxis">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This IAxis allows to reference an EObject."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectTreeItemAxis"
- eSuperTypes="#//nattableaxis/EObjectAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureAxis"
- abstract="true"
- eSuperTypes="#//nattableaxis/IAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract class used to reference features."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localLabelConfiguration"
- eType="#//nattablelabelprovider/FeatureLabelProviderConfiguration"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This IAxis allows to reference an EObject."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="OperationAxis"
- abstract="true"
- eSuperTypes="#//nattableaxis/IAxis">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localLabelConfiguration"
- eType="#//nattablelabelprovider/OperationLabelProviderConfiguration"
- containment="true"/>
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectTreeItemAxis" eSuperTypes="#//nattableaxis/EObjectAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureAxis" abstract="true" eSuperTypes="#//nattableaxis/IAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract class used to reference features."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localLabelConfiguration"
+ eType="#//nattablelabelprovider/FeatureLabelProviderConfiguration" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OperationAxis" abstract="true" eSuperTypes="#//nattableaxis/IAxis">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localLabelConfiguration"
+ eType="#//nattablelabelprovider/OperationLabelProviderConfiguration" containment="true"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureTreeItemAxis"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureTreeItemAxis" abstract="true"
eSuperTypes="#//nattableaxis/FeatureAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="OperationTreeItemAxis"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="OperationTreeItemAxis" abstract="true"
eSuperTypes="#//nattableaxis/OperationAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ObjectAxis"
- abstract="true"
- eSuperTypes="#//nattableaxis/IAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Abstract class used to reference object"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="localLabelConfiguration"
- eType="#//nattablelabelprovider/ObjectLabelProviderConfiguration"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectAxis" abstract="true" eSuperTypes="#//nattableaxis/IAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Abstract class used to reference object"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="localLabelConfiguration"
+ eType="#//nattablelabelprovider/ObjectLabelProviderConfiguration" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Returns the local label configuration to use for this IAxis. This configuration&#xD;&#xA;will override the label configuration defined in the AxisManagerConfiguration."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ObjectTreeItemAxis"
- abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectTreeItemAxis" abstract="true"
eSuperTypes="#//nattableaxis/ObjectAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureIdAxis"
- eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/FeatureAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="IAxis used to represent feature using a string."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FeatureIdTreeItemAxis"
- eSuperTypes="#//nattableaxis/FeatureIdAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EStructuralFeatureAxis"
- eSuperTypes="#//nattableaxis/FeatureAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="IAxis used to reference EMF EStructuralFeature."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="element"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureIdAxis" eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/FeatureAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="IAxis used to represent feature using a string."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FeatureIdTreeItemAxis" eSuperTypes="#//nattableaxis/FeatureIdAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="EStructuralFeatureAxis" eSuperTypes="#//nattableaxis/FeatureAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="IAxis used to reference EMF EStructuralFeature."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The represented EStructuralFeature."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EOperationAxis"
- eSuperTypes="#//nattableaxis/OperationAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="IAxis used to reference EMF EOperation."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="element"
- lowerBound="1"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The represented EStructuralFeature."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EOperationAxis" eSuperTypes="#//nattableaxis/OperationAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="IAxis used to reference EMF EOperation."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EOperation"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EStructuralFeatureTreeItemAxis"
- eSuperTypes="#//nattableaxis/EStructuralFeatureAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EOperationTreeItemAxis"
- eSuperTypes="#//nattableaxis/EOperationAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ObjectIdAxis"
- eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/ObjectAxis">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="IAxis used to represent object using a string."/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ObjectIdTreeItemAxis"
- eSuperTypes="#//nattableaxis/ObjectIdAxis #//nattableaxis/ITreeItemAxis"/>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="AxisGroup"
- eSuperTypes="#//nattableaxis/IAxis">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="groupedAxis"
- upperBound="-1"
+ <eClassifiers xsi:type="ecore:EClass" name="EStructuralFeatureTreeItemAxis" eSuperTypes="#//nattableaxis/EStructuralFeatureAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="EOperationTreeItemAxis" eSuperTypes="#//nattableaxis/EOperationAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectIdAxis" eSuperTypes="#//nattableaxis/IdAxis #//nattableaxis/ObjectAxis">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="IAxis used to represent object using a string."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ObjectIdTreeItemAxis" eSuperTypes="#//nattableaxis/ObjectIdAxis #//nattableaxis/ITreeItemAxis"/>
+ <eClassifiers xsi:type="ecore:EClass" name="AxisGroup" eSuperTypes="#//nattableaxis/IAxis">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="groupedAxis" upperBound="-1"
eType="#//nattableaxis/IAxis"/>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattablecell"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecell"
+ <eSubpackages name="nattablecell" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecell"
nsPrefix="nattablecell">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="Cell"
- eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Cell elements used to store specific information which can't be stored in the edited model"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="columnWrapper"
- lowerBound="1"
- eType="#//nattablecell/ICellAxisWrapper"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The column element on which this cell must be displayed."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="rowWrapper"
- lowerBound="1"
- eType="#//nattablecell/ICellAxisWrapper"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The row element on which this cell must be displayed."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="problems"
- upperBound="-1"
- eType="#//nattableproblem/Problem"
- containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="a list of problem founds on this cell"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Cell" eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Cell elements used to store specific information which can't be stored in the edited model"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="columnWrapper" lowerBound="1"
+ eType="#//nattablecell/ICellAxisWrapper" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The column element on which this cell must be displayed."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rowWrapper" lowerBound="1"
+ eType="#//nattablecell/ICellAxisWrapper" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The row element on which this cell must be displayed."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="problems" upperBound="-1"
+ eType="#//nattableproblem/Problem" containment="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="a list of problem founds on this cell"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ICellAxisWrapper"
- abstract="true"
- interface="true"
- eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This class encapsulates the real axis object."/>
- </eAnnotations>
- <eOperations
- name="getElement"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Return the wrapped object"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ICellAxisWrapper" abstract="true"
+ interface="true" eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This class encapsulates the real axis object."/>
+ </eAnnotations>
+ <eOperations name="getElement" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Return the wrapped object"/>
</eAnnotations>
</eOperations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectAxisWrapper"
- eSuperTypes="#//nattablecell/ICellAxisWrapper">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Wrapper for EObject"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="element"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectAxisWrapper" eSuperTypes="#//nattablecell/ICellAxisWrapper">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Wrapper for EObject"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The wrapped element"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IdAxisWrapper"
- eSuperTypes="#//nattablecell/ICellAxisWrapper">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Wrapper for Id"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="element"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The id used to identifies an element."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The wrapped element"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IdAxisWrapper" eSuperTypes="#//nattablecell/ICellAxisWrapper">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Wrapper for Id"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The id used to identifies an element."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattableproblem"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableproblem"
+ <eSubpackages name="nattableproblem" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattableproblem"
nsPrefix="nattableproblem">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="Problem"
- eSuperTypes="#//nattableconfiguration/TableNamedElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="A problem"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="StringResolutionProblem"
- eSuperTypes="#//nattableproblem/Problem">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This kind of problem is used when the user set a value as a text in a Cell and the system can't convert this string value into the correct type"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="valueAsString"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The text which is the source of the problem"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="unresolvedString"
- lowerBound="1"
- upperBound="-1"
+ <eClassifiers xsi:type="ecore:EClass" name="Problem" eSuperTypes="#//nattableconfiguration/TableNamedElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A problem"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StringResolutionProblem" eSuperTypes="#//nattableproblem/Problem">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This kind of problem is used when the user set a value as a text in a Cell and the system can't convert this string value into the correct type"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueAsString" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="the text or a substring of it, which is the source of the problem"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The text which is the source of the problem"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unresolvedString" lowerBound="1"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="the text or a substring of it, which is the source of the problem"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattablestyle"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle"
+ <eSubpackages name="nattablestyle" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle"
nsPrefix="nattablestyle">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="Style"
- abstract="true"
- interface="true"
+ <eClassifiers xsi:type="ecore:EClass" name="Style" abstract="true" interface="true"
eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Style from which all substyles originate"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="NamedStyle"
- eSuperTypes="#//nattablestyle/Style">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="used to represent character and paragraph styles"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="name"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EEnum"
- name="CellTextAlignment">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Alignment of the text inside its cell"/>
- </eAnnotations>
- <eLiterals
- name="TOP_LEFT"
- value="1"
- literal="TOP_LEFT"/>
- <eLiterals
- name="TOP_CENTER"
- value="2"
- literal="TOP_CENTER"/>
- <eLiterals
- name="TOP_RIGHT"
- value="3"
- literal="TOP_RIGHT"/>
- <eLiterals
- name="MIDDLE_LEFT"
- value="4"
- literal="MIDDLE_LEFT"/>
- <eLiterals
- name="MIDDLE_CENTER"
- value="5"
- literal="MIDDLE_CENTER"/>
- <eLiterals
- name="MIDDLE_RIGHT"
- value="6"
- literal="MIDDLE_RIGHT"/>
- <eLiterals
- name="BOTTOM_LEFT"
- value="7"
- literal="BOTTOM_LEFT"/>
- <eLiterals
- name="BOTTOM_CENTER"
- value="8"
- literal="BOTTOM_CENTER"/>
- <eLiterals
- name="BOTTOM_RIGHT"
- value="9"
- literal="BOTTOM_RIGHT"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="FontStyle"
- eSuperTypes="#//nattablestyle/Style">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Font style of the cell's text"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="fontColor"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Style from which all substyles originate"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NamedStyle" eSuperTypes="#//nattablestyle/Style">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="used to represent character and paragraph styles"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="CellTextAlignment">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Alignment of the text inside its cell"/>
+ </eAnnotations>
+ <eLiterals name="TOP_LEFT" value="1" literal="TOP_LEFT"/>
+ <eLiterals name="TOP_CENTER" value="2" literal="TOP_CENTER"/>
+ <eLiterals name="TOP_RIGHT" value="3" literal="TOP_RIGHT"/>
+ <eLiterals name="MIDDLE_LEFT" value="4" literal="MIDDLE_LEFT"/>
+ <eLiterals name="MIDDLE_CENTER" value="5" literal="MIDDLE_CENTER"/>
+ <eLiterals name="MIDDLE_RIGHT" value="6" literal="MIDDLE_RIGHT"/>
+ <eLiterals name="BOTTOM_LEFT" value="7" literal="BOTTOM_LEFT"/>
+ <eLiterals name="BOTTOM_CENTER" value="8" literal="BOTTOM_CENTER"/>
+ <eLiterals name="BOTTOM_RIGHT" value="9" literal="BOTTOM_RIGHT"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FontStyle" eSuperTypes="#//nattablestyle/Style">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Font style of the cell's text"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontColor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="0"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="fontName"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="Tahoma"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="fontHeight"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontHeight" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="9"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="bold"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bold" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="italic"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="italic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="underline"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="underline" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="strikeThrough"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="strikeThrough" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="CellTextStyle"
- eSuperTypes="#//nattablestyle/Style">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Text representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="alignment"
- eType="#//nattablestyle/CellTextAlignment"
+ <eClassifiers xsi:type="ecore:EClass" name="CellTextStyle" eSuperTypes="#//nattablestyle/Style">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Text representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="alignment" eType="#//nattablestyle/CellTextAlignment"
defaultValueLiteral="MIDDLE_LEFT"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IntValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Int representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="intValue"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IntListValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Int lists representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="intListValue"
- unique="false"
- upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="BooleanValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Boolean representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="booleanValue"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="BooleanListValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Boolean lists representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="booleanListValue"
- unique="false"
- upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="DoubleValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Double representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="doubleValue"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="DoubleListValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Double lists representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="doubleListValue"
- unique="false"
- upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="StringValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="String representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="stringValue"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="StringListValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="String lists representation"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="stringListValue"
- unique="false"
- upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="StyledElement"
- abstract="true"
- eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
- <eOperations
- name="getNamedStyle"
- eType="#//nattablestyle/NamedStyle">
- <eParameters
- name="eClass"
- eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
- <eParameters
- name="name"
- eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eClassifiers xsi:type="ecore:EClass" name="IntValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Int representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="intValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IntListValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Int lists representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="intListValue" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BooleanValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Boolean representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="booleanValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="BooleanListValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Boolean lists representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="booleanListValue" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DoubleValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Double representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="doubleValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DoubleListValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Double lists representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="doubleListValue" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StringValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="String representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="stringValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StringListValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="String lists representation"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="stringListValue" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="StyledElement" abstract="true" eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
+ <eOperations name="getNamedStyle" eType="#//nattablestyle/NamedStyle">
+ <eParameters name="eClass" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
+ <eParameters name="name" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eOperations>
- <eOperations
- name="getStyle"
- eType="#//nattablestyle/Style">
- <eParameters
- name="eClass"
- eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
+ <eOperations name="getStyle" eType="#//nattablestyle/Style">
+ <eParameters name="eClass" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
</eOperations>
- <eOperations
- name="createStyle"
- eType="#//nattablestyle/Style">
- <eParameters
- name="eClass"
- eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
+ <eOperations name="createStyle" eType="#//nattablestyle/Style">
+ <eParameters name="eClass" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
</eOperations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="styles"
- upperBound="-1"
- eType="#//nattablestyle/Style"
- containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="styles" upperBound="-1"
+ eType="#//nattablestyle/Style" containment="true"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="TableDisplayStyle"
- eSuperTypes="#//nattablestyle/Style">
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="displayStyle"
- lowerBound="1"
- eType="#//nattablestyle/DisplayStyle"
- defaultValueLiteral="NORMAL"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EEnum"
- name="DisplayStyle">
- <eLiterals
- name="NORMAL"
- literal="NORMAL"/>
- <eLiterals
- name="HIERARCHIC_SINGLE_TREE_COLUMN"
- value="1"
- literal="HIERARCHIC_SINGLE_TREE_COLUMN"/>
- <eLiterals
- name="HIERARCHIC_MULTI_TREE_COLUMN"
- value="2"
- literal="HIERARCHIC_MULTI_TREE_COLUMN"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="eObjectValue"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+ <eClassifiers xsi:type="ecore:EClass" name="TableDisplayStyle" eSuperTypes="#//nattablestyle/Style">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="displayStyle" lowerBound="1"
+ eType="#//nattablestyle/DisplayStyle" defaultValueLiteral="NORMAL"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectListValueStyle"
- eSuperTypes="#//nattablestyle/NamedStyle">
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="eObjectValue"
- upperBound="-1"
+ <eClassifiers xsi:type="ecore:EEnum" name="DisplayStyle">
+ <eLiterals name="NORMAL" literal="NORMAL"/>
+ <eLiterals name="HIERARCHIC_SINGLE_TREE_COLUMN" value="1" literal="HIERARCHIC_SINGLE_TREE_COLUMN"/>
+ <eLiterals name="HIERARCHIC_MULTI_TREE_COLUMN" value="2" literal="HIERARCHIC_MULTI_TREE_COLUMN"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eObjectValue" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectListValueStyle" eSuperTypes="#//nattablestyle/NamedStyle">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eObjectValue" upperBound="-1"
eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattablecelleditor"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecelleditor"
+ <eSubpackages name="nattablecelleditor" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablecelleditor"
nsPrefix="nattablecelleditor">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="ICellEditorConfiguration"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common interface for all cell editor configuration."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="cellEditorId"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="ICellEditorConfiguration" abstract="true"
+ interface="true" eSuperTypes="#//nattablestyle/StyledElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common interface for all cell editor configuration."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cellEditorId" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
iD="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The id of the celleditor."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The id of the celleditor."/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="GenericRelationshipMatrixCellEditorConfiguration"
+ <eClassifiers xsi:type="ecore:EClass" name="GenericRelationshipMatrixCellEditorConfiguration"
eSuperTypes="#//nattablecelleditor/IMatrixCellEditorConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Concret implementation of IMatrixRelationshipCellEditorConfiguration"/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="direction"
- eType="#//nattablecelleditor/MatrixRelationShipDirection"
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Concret implementation of IMatrixRelationshipCellEditorConfiguration"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//nattablecelleditor/MatrixRelationShipDirection"
defaultValueLiteral="FROM_ROW_TO_COLUMN"/>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="cellContentsFilter"
- eType="ecore:EClass ../../org.eclipse.papyrus.infra.emf.expressions/model/expressions.ecore#//booleanexpressions/IBooleanEObjectExpression"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="cellContentsFilter" eType="ecore:EClass ../../org.eclipse.papyrus.infra.emf.expressions/model/expressions.ecore#//booleanexpressions/IBooleanEObjectExpression"
containment="true">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field allows to the user to filter the contents of the cells."/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="editedElement"
- eType="ecore:EClass ../../org.eclipse.papyrus.infra.types/model/ElementTypesConfigurations.ecore#//ElementTypeConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This field allows to define the kind of element to edit in the cell."/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EEnum"
- name="MatrixRelationShipDirection">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This Enumeration is used to define the direction of the relationship to display in the cell. &#xD;&#xA;In case of directed relationship and NONE selected, the cell won't be editable.&#xD;&#xA;In case of non directed relationship and a direction selected, we will use get(0) and get(1) to define a fake orientation."/>
- </eAnnotations>
- <eLiterals
- name="NONE"
- literal="NONE"/>
- <eLiterals
- name="FROM_ROW_TO_COLUMN"
- value="1"
- literal="FROM_ROW_TO_COLUMN"/>
- <eLiterals
- name="FROM_COLUMN_TO_ROW"
- value="2"
- literal="FROM_COLUMN_TO_ROW"/>
- </eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IMatrixCellEditorConfiguration"
- abstract="true"
- interface="true"
- eSuperTypes="#//nattablecelleditor/ICellEditorConfiguration">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common interface for all Matrix cell editor."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field allows to the user to filter the contents of the cells."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="editedElement" eType="ecore:EClass ../../org.eclipse.papyrus.infra.types/model/ElementTypesConfigurations.ecore#//ElementTypeConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This field allows to define the kind of element to edit in the cell."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="MatrixRelationShipDirection">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This Enumeration is used to define the direction of the relationship to display in the cell. &#xD;&#xA;In case of directed relationship and NONE selected, the cell won't be editable.&#xD;&#xA;In case of non directed relationship and a direction selected, we will use get(0) and get(1) to define a fake orientation."/>
+ </eAnnotations>
+ <eLiterals name="NONE" literal="NONE"/>
+ <eLiterals name="FROM_ROW_TO_COLUMN" value="1" literal="FROM_ROW_TO_COLUMN"/>
+ <eLiterals name="FROM_COLUMN_TO_ROW" value="2" literal="FROM_COLUMN_TO_ROW"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IMatrixCellEditorConfiguration" abstract="true"
+ interface="true" eSuperTypes="#//nattablecelleditor/ICellEditorConfiguration">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common interface for all Matrix cell editor."/>
</eAnnotations>
</eClassifiers>
</eSubpackages>
- <eSubpackages
- name="nattablewrapper"
- nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablewrapper"
+ <eSubpackages name="nattablewrapper" nsURI="http://www.eclipse.org/papyrus/nattable/model/table/nattablewrapper"
nsPrefix="nattablewrapper">
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IWrapper"
- abstract="true"
- interface="true"
+ <eClassifiers xsi:type="ecore:EClass" name="IWrapper" abstract="true" interface="true"
eSuperTypes="#//nattablestyle/StyledElement">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="Common interface for all wrapped. The wrapper is used to be able to reference an&#xD;&#xA;object which is not necessary an EObject. In this case, it could be referenced by as string."/>
- </eAnnotations>
- <eOperations
- name="getElement"
- lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This method returns the wrapped element, but without solving it."/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Common interface for all wrapped. The wrapper is used to be able to reference an&#xD;&#xA;object which is not necessary an EObject. In this case, it could be referenced by as string."/>
+ </eAnnotations>
+ <eOperations name="getElement" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This method returns the wrapped element, but without solving it."/>
</eAnnotations>
</eOperations>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="EObjectWrapper"
- eSuperTypes="#//nattablewrapper/IWrapper">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This class allows to wrap EObject."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EReference"
- name="element"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="EObjectWrapper" eSuperTypes="#//nattablewrapper/IWrapper">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This class allows to wrap EObject."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
</eClassifiers>
- <eClassifiers
- xsi:type="ecore:EClass"
- name="IdWrapper"
- eSuperTypes="#//nattablewrapper/IWrapper">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="This class allows to reference an object identified by a string."/>
- </eAnnotations>
- <eStructuralFeatures
- xsi:type="ecore:EAttribute"
- name="element"
- lowerBound="1"
+ <eClassifiers xsi:type="ecore:EClass" name="IdWrapper" eSuperTypes="#//nattablewrapper/IWrapper">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This class allows to reference an object identified by a string."/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="element" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations
- source="http://www.eclipse.org/emf/2002/GenModel">
- <details
- key="documentation"
- value="The wrapped element is referenced by a String"/>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The wrapped element is referenced by a String"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.genmodel b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.genmodel
index edeb580089c..d16345d5933 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.genmodel
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/model/nattable.genmodel
@@ -24,6 +24,7 @@
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference nattable.ecore#//Table/currentColumnAxisProvider"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nattable.ecore#//Table/cells"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference nattable.ecore#//Table/ownedCellEditorConfigurations"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nattable.ecore#//Table/tableKindId"/>
</genClasses>
<nestedGenPackages prefix="Nattableconfiguration" basePackage="org.eclipse.papyrus.infra.nattable.model.nattable"
disposableProviderFactory="true" ecorePackage="nattable.ecore#//nattableconfiguration">
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/NattablePackage.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/NattablePackage.java
index 1b354856a79..94f82310f09 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/NattablePackage.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/NattablePackage.java
@@ -234,13 +234,22 @@ public interface NattablePackage extends EPackage {
int TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS = NattableconfigurationPackage.TABLE_NAMED_ELEMENT_FEATURE_COUNT + 12;
/**
+ * The feature id for the '<em><b>Table Kind Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TABLE__TABLE_KIND_ID = NattableconfigurationPackage.TABLE_NAMED_ELEMENT_FEATURE_COUNT + 13;
+
+ /**
* The number of structural features of the '<em>Table</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int TABLE_FEATURE_COUNT = NattableconfigurationPackage.TABLE_NAMED_ELEMENT_FEATURE_COUNT + 13;
+ int TABLE_FEATURE_COUNT = NattableconfigurationPackage.TABLE_NAMED_ELEMENT_FEATURE_COUNT + 14;
/**
* The operation id for the '<em>Get EAnnotation</em>' operation.
@@ -441,6 +450,17 @@ public interface NattablePackage extends EPackage {
EReference getTable_OwnedCellEditorConfigurations();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getTableKindId <em>Table Kind Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Table Kind Id</em>'.
+ * @see org.eclipse.papyrus.infra.nattable.model.nattable.Table#getTableKindId()
+ * @see #getTable()
+ * @generated
+ */
+ EAttribute getTable_TableKindId();
+
+ /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -577,5 +597,13 @@ public interface NattablePackage extends EPackage {
* @generated
*/
EReference TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS = eINSTANCE.getTable_OwnedCellEditorConfigurations();
+
+ /**
+ * The meta object literal for the '<em><b>Table Kind Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TABLE__TABLE_KIND_ID = eINSTANCE.getTable_TableKindId();
}
} // NattablePackage
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/Table.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/Table.java
index e4a9964ef09..e59dd2ac037 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/Table.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/Table.java
@@ -49,6 +49,7 @@ import org.eclipse.papyrus.infra.nattable.model.nattable.nattableconfiguration.T
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getCurrentColumnAxisProvider <em>Current Column Axis Provider</em>}</li>
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getCells <em>Cells</em>}</li>
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getOwnedCellEditorConfigurations <em>Owned Cell Editor Configurations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getTableKindId <em>Table Kind Id</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.infra.nattable.model.nattable.NattablePackage#getTable()
@@ -116,13 +117,15 @@ public interface Table extends TableNamedElement {
* Returns the value of the '<em><b>Prototype</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Prototype</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Prototype</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
+ * @deprecated Use {@link Table#getTableKindId()} instead
* <!-- end-user-doc -->
* @return the value of the '<em>Prototype</em>' reference.
* @see #setPrototype(EObject)
* @see org.eclipse.papyrus.infra.nattable.model.nattable.NattablePackage#getTable_Prototype()
- * @model required="true"
+ * @model
* @generated
*/
EObject getPrototype();
@@ -130,6 +133,7 @@ public interface Table extends TableNamedElement {
/**
* Sets the value of the '{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getPrototype <em>Prototype</em>}' reference.
* <!-- begin-user-doc -->
+ * @deprecated Use {@link Table#setTableKindId()} instead
* <!-- end-user-doc -->
* @param value the new value of the '<em>Prototype</em>' reference.
* @see #getPrototype()
@@ -363,4 +367,30 @@ public interface Table extends TableNamedElement {
* @generated
*/
void setOwnedCellEditorConfigurations(ICellEditorConfiguration value);
+
+ /**
+ * Returns the value of the '<em><b>Table Kind Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Table Kind Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Table Kind Id</em>' attribute.
+ * @see #setTableKindId(String)
+ * @see org.eclipse.papyrus.infra.nattable.model.nattable.NattablePackage#getTable_TableKindId()
+ * @model required="true"
+ * @generated
+ */
+ String getTableKindId();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.infra.nattable.model.nattable.Table#getTableKindId <em>Table Kind Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Table Kind Id</em>' attribute.
+ * @see #getTableKindId()
+ * @generated
+ */
+ void setTableKindId(String value);
} // Table
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/NattablePackageImpl.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/NattablePackageImpl.java
index 251465105b6..af5f186c870 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/NattablePackageImpl.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/NattablePackageImpl.java
@@ -206,7 +206,6 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
* <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getTable_Prototype() {
return (EReference)tableEClass.getEStructuralFeatures().get(2);
}
@@ -315,6 +314,15 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getTable_TableKindId() {
+ return (EAttribute)tableEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NattableFactory getNattableFactory() {
return (NattableFactory)getEFactoryInstance();
@@ -353,6 +361,7 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
createEReference(tableEClass, TABLE__CURRENT_COLUMN_AXIS_PROVIDER);
createEReference(tableEClass, TABLE__CELLS);
createEReference(tableEClass, TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS);
+ createEAttribute(tableEClass, TABLE__TABLE_KIND_ID);
}
/**
@@ -390,6 +399,7 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
NattablestylePackage theNattablestylePackage = (NattablestylePackage)EPackage.Registry.INSTANCE.getEPackage(NattablestylePackage.eNS_URI);
NattablecelleditorPackage theNattablecelleditorPackage = (NattablecelleditorPackage)EPackage.Registry.INSTANCE.getEPackage(NattablecelleditorPackage.eNS_URI);
NattablewrapperPackage theNattablewrapperPackage = (NattablewrapperPackage)EPackage.Registry.INSTANCE.getEPackage(NattablewrapperPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Add subpackages
getESubpackages().add(theNattableconfigurationPackage);
@@ -415,7 +425,7 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
initEClass(tableEClass, Table.class, "Table", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getTable_Context(), ecorePackage.getEObject(), null, "context", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getTable_Owner(), ecorePackage.getEObject(), null, "owner", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(getTable_Prototype(), ecorePackage.getEObject(), null, "prototype", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEReference(getTable_Prototype(), ecorePackage.getEObject(), null, "prototype", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getTable_TableConfiguration(), theNattableconfigurationPackage.getTableConfiguration(), null, "tableConfiguration", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getTable_InvertAxis(), ecorePackage.getEBoolean(), "invertAxis", "false", 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEReference(getTable_ColumnAxisProvidersHistory(), theNattableaxisproviderPackage.getAbstractAxisProvider(), null, "columnAxisProvidersHistory", null, 1, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
@@ -426,6 +436,7 @@ public class NattablePackageImpl extends EPackageImpl implements NattablePackage
initEReference(getTable_CurrentColumnAxisProvider(), theNattableaxisproviderPackage.getAbstractAxisProvider(), null, "currentColumnAxisProvider", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getTable_Cells(), theNattablecellPackage.getCell(), null, "cells", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getTable_OwnedCellEditorConfigurations(), theNattablecelleditorPackage.getICellEditorConfiguration(), null, "ownedCellEditorConfigurations", null, 0, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(getTable_TableKindId(), theEcorePackage.getEString(), "tableKindId", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
// Create resource
createResource(eNS_URI);
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/TableImpl.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/TableImpl.java
index 6d4e77cfad7..08869b7e330 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/TableImpl.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.model/src-gen/org/eclipse/papyrus/infra/nattable/model/nattable/impl/TableImpl.java
@@ -53,6 +53,7 @@ import org.eclipse.papyrus.infra.nattable.model.nattable.nattableconfiguration.i
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.impl.TableImpl#getCurrentColumnAxisProvider <em>Current Column Axis Provider</em>}</li>
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.impl.TableImpl#getCells <em>Cells</em>}</li>
* <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.impl.TableImpl#getOwnedCellEditorConfigurations <em>Owned Cell Editor Configurations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.nattable.model.nattable.impl.TableImpl#getTableKindId <em>Table Kind Id</em>}</li>
* </ul>
*
* @generated
@@ -200,6 +201,26 @@ public class TableImpl extends TableNamedElementImpl implements Table {
protected ICellEditorConfiguration ownedCellEditorConfigurations;
/**
+ * The default value of the '{@link #getTableKindId() <em>Table Kind Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTableKindId()
+ * @generated
+ * @ordered
+ */
+ protected static final String TABLE_KIND_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTableKindId() <em>Table Kind Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTableKindId()
+ * @generated
+ * @ordered
+ */
+ protected String tableKindId = TABLE_KIND_ID_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -303,7 +324,6 @@ public class TableImpl extends TableNamedElementImpl implements Table {
* <!-- end-user-doc -->
* @generated
*/
- @Override
public EObject getPrototype() {
if (prototype != null && prototype.eIsProxy()) {
InternalEObject oldPrototype = (InternalEObject)prototype;
@@ -330,7 +350,6 @@ public class TableImpl extends TableNamedElementImpl implements Table {
* <!-- end-user-doc -->
* @generated
*/
- @Override
public void setPrototype(EObject newPrototype) {
EObject oldPrototype = prototype;
prototype = newPrototype;
@@ -658,6 +677,27 @@ public class TableImpl extends TableNamedElementImpl implements Table {
* <!-- end-user-doc -->
* @generated
*/
+ public String getTableKindId() {
+ return tableKindId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTableKindId(String newTableKindId) {
+ String oldTableKindId = tableKindId;
+ tableKindId = newTableKindId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NattablePackage.TABLE__TABLE_KIND_ID, oldTableKindId, tableKindId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
@@ -717,6 +757,8 @@ public class TableImpl extends TableNamedElementImpl implements Table {
return getCells();
case NattablePackage.TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS:
return getOwnedCellEditorConfigurations();
+ case NattablePackage.TABLE__TABLE_KIND_ID:
+ return getTableKindId();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -772,6 +814,9 @@ public class TableImpl extends TableNamedElementImpl implements Table {
case NattablePackage.TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS:
setOwnedCellEditorConfigurations((ICellEditorConfiguration)newValue);
return;
+ case NattablePackage.TABLE__TABLE_KIND_ID:
+ setTableKindId((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -823,6 +868,9 @@ public class TableImpl extends TableNamedElementImpl implements Table {
case NattablePackage.TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS:
setOwnedCellEditorConfigurations((ICellEditorConfiguration)null);
return;
+ case NattablePackage.TABLE__TABLE_KIND_ID:
+ setTableKindId(TABLE_KIND_ID_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -861,6 +909,8 @@ public class TableImpl extends TableNamedElementImpl implements Table {
return cells != null && !cells.isEmpty();
case NattablePackage.TABLE__OWNED_CELL_EDITOR_CONFIGURATIONS:
return ownedCellEditorConfigurations != null;
+ case NattablePackage.TABLE__TABLE_KIND_ID:
+ return TABLE_KIND_ID_EDEFAULT == null ? tableKindId != null : !TABLE_KIND_ID_EDEFAULT.equals(tableKindId);
}
return super.eIsSet(featureID);
}
@@ -877,6 +927,8 @@ public class TableImpl extends TableNamedElementImpl implements Table {
StringBuffer result = new StringBuffer(super.toString());
result.append(" (invertAxis: "); //$NON-NLS-1$
result.append(invertAxis);
+ result.append(", tableKindId: "); //$NON-NLS-1$
+ result.append(tableKindId);
result.append(')');
return result.toString();
}
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.properties/src/org/eclipse/papyrus/infra/nattable/properties/modelelement/NatTableModelElement.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.properties/src/org/eclipse/papyrus/infra/nattable/properties/modelelement/NatTableModelElement.java
index ee6662205aa..557d5566c25 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.properties/src/org/eclipse/papyrus/infra/nattable/properties/modelelement/NatTableModelElement.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable.properties/src/org/eclipse/papyrus/infra/nattable/properties/modelelement/NatTableModelElement.java
@@ -160,7 +160,7 @@ public class NatTableModelElement extends EMFModelElement {
// The create nattable model manager for the properties view doesn't need some listeners of the table (invert axis and update cells map listener)
tableModelManager = NattableModelManagerFactory.INSTANCE.createNatTableModelManager(getEditedTable(), new EObjectSelectionExtractor(), false);
this.interestingFeatures = new ArrayList<EStructuralFeature>();
- interestingFeatures.add(NattablePackage.eINSTANCE.getTable_Prototype());
+ interestingFeatures.add(NattablePackage.eINSTANCE.getTable_TableKindId());
interestingFeatures.add(NattablePackage.eINSTANCE.getTable_Owner());
interestingFeatures.add(NattablePackage.eINSTANCE.getTable_Context());
interestingFeatures.add(NattablePackage.eINSTANCE.getTable_InvertAxis());
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/contentprovider/ContextFeatureContentProvider.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/contentprovider/ContextFeatureContentProvider.java
index 80307cdfcc1..e70cb6c9c17 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/contentprovider/ContextFeatureContentProvider.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/contentprovider/ContextFeatureContentProvider.java
@@ -22,7 +22,9 @@ import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;
+import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager;
import org.eclipse.papyrus.infra.architecture.representation.PapyrusRepresentationKind;
+import org.eclipse.papyrus.infra.core.architecture.RepresentationKind;
import org.eclipse.papyrus.infra.nattable.messages.Messages;
import org.eclipse.papyrus.infra.nattable.model.nattable.Table;
import org.eclipse.papyrus.infra.ui.emf.utils.EcoreModelContentProvider;
@@ -104,7 +106,9 @@ public class ContextFeatureContentProvider extends EcoreModelContentProvider imp
if (!(element instanceof EObject)) {
return false;
}
- ViewPrototype prototype = ViewPrototype.get((PapyrusRepresentationKind) table.getPrototype());
+ ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance();
+ RepresentationKind repKind = manager.getRepresentationKindById(table.getTableKindId());
+ ViewPrototype prototype = ViewPrototype.get((PapyrusRepresentationKind) repKind);
if (prototype == null) {
return false;
}

Back to the top